summaryrefslogtreecommitdiff
path: root/libmate-panel-applet/mate-panel-applet.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-11-20 03:54:22 -0800
committerStefano Karapetsas <[email protected]>2013-11-20 03:54:22 -0800
commitef1bad990c74e1b39e3184139c7742fa6569a612 (patch)
tree8c15d5fee1941b34cfdb13452c5c77ec550e071f /libmate-panel-applet/mate-panel-applet.c
parent6baad9dafc848b65cc469e03ea12388d98db9cd1 (diff)
parent22dae140b0fcc7050c524ff6785673b5eee59c2b (diff)
downloadmate-panel-ef1bad990c74e1b39e3184139c7742fa6569a612.tar.bz2
mate-panel-ef1bad990c74e1b39e3184139c7742fa6569a612.tar.xz
Merge pull request #142 from NiceandGently/master
GTK3: Fix compile warning by using gdk_error_trap_pop_ignored()
Diffstat (limited to 'libmate-panel-applet/mate-panel-applet.c')
-rw-r--r--libmate-panel-applet/mate-panel-applet.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmate-panel-applet/mate-panel-applet.c b/libmate-panel-applet/mate-panel-applet.c
index 33ec6f15..3c03bfd1 100644
--- a/libmate-panel-applet/mate-panel-applet.c
+++ b/libmate-panel-applet/mate-panel-applet.c
@@ -961,7 +961,11 @@ mate_panel_applet_button_event (GtkWidget *widget,
False, NoEventMask, &xevent);
gdk_flush ();
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gdk_error_trap_pop_ignored ();
+#else
gdk_error_trap_pop ();
+#endif
return TRUE;
}