summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-14 20:18:20 +0200
committerraveit65 <[email protected]>2016-06-15 09:46:00 +0200
commit12237356a2e12378ad288b4c7fb726c28746f4bf (patch)
tree730eed83e1862aaee6305a1dab2332ff6ecd9123
parentd79d74d77b6003ba90b2333d3939640816af4ac5 (diff)
downloadmate-desktop-12237356a2e12378ad288b4c7fb726c28746f4bf.tar.bz2
mate-desktop-12237356a2e12378ad288b4c7fb726c28746f4bf.tar.xz
GTK+3 mate-desktop-item: use gdk_error_trap_pop_ignored()
-rw-r--r--libmate-desktop/mate-desktop-item.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmate-desktop/mate-desktop-item.c b/libmate-desktop/mate-desktop-item.c
index c0ee1da..9ad34ee 100644
--- a/libmate-desktop/mate-desktop-item.c
+++ b/libmate-desktop/mate-desktop-item.c
@@ -1480,7 +1480,11 @@ static void
sn_error_trap_pop (SnDisplay *display,
Display *xdisplay)
{
+#if GTK_CHECK_VERSION(3,0,0)
+ gdk_error_trap_pop_ignored ();
+#else
gdk_error_trap_pop ();
+#endif
}
static char **