summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-desktop-item.c
diff options
context:
space:
mode:
authorDenis Gorodnichev <[email protected]>2014-02-27 17:16:51 +0400
committerDenis Gorodnichev <[email protected]>2014-02-27 17:16:51 +0400
commite95d24559060365eb4fee8154ad82434bf3c8a0a (patch)
tree1c62646abdff4ae1c191fc4f4f86cfb3933c1ad5 /libmate-desktop/mate-desktop-item.c
parent0e7cc64581b44f4f80fa392ee9bff0a139f06785 (diff)
downloadmate-desktop-e95d24559060365eb4fee8154ad82434bf3c8a0a.tar.bz2
mate-desktop-e95d24559060365eb4fee8154ad82434bf3c8a0a.tar.xz
gtk3: GdkRGBA support
Diffstat (limited to 'libmate-desktop/mate-desktop-item.c')
-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 eb004d9..06f585a 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 **