summaryrefslogtreecommitdiff
path: root/mate-session/msm-gnome.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-11-14 13:34:05 -0800
committerStefano Karapetsas <[email protected]>2013-11-14 13:34:05 -0800
commitdce0ac553facd6a8f4ae6ae5cb3e47fa8e4a5bf2 (patch)
treeef7e96a4835dd8ac216779cda428730fc45ef05b /mate-session/msm-gnome.c
parentc38e25ccb5f77ae4bfca9a43e54b4554220bdba9 (diff)
parent86e4297c9fc01407a2fa00338a02548611ce9056 (diff)
downloadmate-session-manager-dce0ac553facd6a8f4ae6ae5cb3e47fa8e4a5bf2.tar.bz2
mate-session-manager-dce0ac553facd6a8f4ae6ae5cb3e47fa8e4a5bf2.tar.xz
Merge pull request #39 from NiceandGently/dev-GTK3
GTK3: fix some compile warnings
Diffstat (limited to 'mate-session/msm-gnome.c')
-rw-r--r--mate-session/msm-gnome.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/mate-session/msm-gnome.c b/mate-session/msm-gnome.c
index e59ac4e..661d9e3 100644
--- a/mate-session/msm-gnome.c
+++ b/mate-session/msm-gnome.c
@@ -196,8 +196,11 @@ msm_compat_gnome_smproxy_startup (void)
(unsigned char *) (void *) &gnome_smproxy_window, 1);
XSync (dpy, False);
-
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gdk_error_trap_pop_ignored ();
+#else
gdk_error_trap_pop ();
+#endif
}
@@ -217,8 +220,11 @@ msm_compat_gnome_smproxy_shutdown (void)
#endif
gnome_smproxy_window = None;
}
-
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gdk_error_trap_pop_ignored ();
+#else
gdk_error_trap_pop ();
+#endif
}