summaryrefslogtreecommitdiffstats
path: root/gthumb/gtk-3.3.18-fix.patch
blob: 36fccb001206edc73da1be69ca91b326b4cbade4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From eb9be1c9bd32a3c7c4ec919226a5aaa87a8589ad Mon Sep 17 00:00:00 2001
From: Paolo Bacchilega <paobac@src.gnome.org>
Date: Tue, 06 Mar 2012 15:50:16 +0000
Subject: removed wrong use of GDK_EXTENSION_EVENTS_ALL

this prevents compilation with gtk+ 3.3.18

[bug #671451]
---
diff --git a/gthumb/gth-image-navigator.c b/gthumb/gth-image-navigator.c
index 5bb2780..47e4e26 100644
--- a/gthumb/gth-image-navigator.c
+++ b/gthumb/gth-image-navigator.c
@@ -516,8 +516,7 @@ nav_window_grab_pointer (NavigatorPopup *nav_popup,
 			 TRUE,
 			 (GDK_BUTTON_RELEASE_MASK
 			  | GDK_POINTER_MOTION_HINT_MASK
-			  | GDK_BUTTON_MOTION_MASK
-			  | GDK_EXTENSION_EVENTS_ALL),
+			  | GDK_BUTTON_MOTION_MASK),
 			 cursor,
 			 0);
 	g_object_unref (cursor);
diff --git a/gthumb/gth-time-selector.c b/gthumb/gth-time-selector.c
index 4e873e7..d5041e2 100644
--- a/gthumb/gth-time-selector.c
+++ b/gthumb/gth-time-selector.c
@@ -163,8 +163,7 @@ show_calendar_popup (GthTimeSelector *self)
 			 (GDK_BUTTON_PRESS_MASK
 			  | GDK_BUTTON_RELEASE_MASK
 			  | GDK_POINTER_MOTION_HINT_MASK
-			  | GDK_BUTTON_MOTION_MASK
-			  | GDK_EXTENSION_EVENTS_ALL),
+			  | GDK_BUTTON_MOTION_MASK),
 			 NULL,
 			 GDK_CURRENT_TIME);
 	gtk_widget_grab_focus (self->priv->calendar);
--
cgit v0.9.0.2