From de1227d4355f56017270f3a7541b8be21fd955af Mon Sep 17 00:00:00 2001 From: monsta Date: Sun, 20 Nov 2016 22:24:08 +0300 Subject: move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option and require libmatekbd and libmate-desktop >= 1.17 --- plugins/clipboard/msd-clipboard-manager.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'plugins/clipboard') diff --git a/plugins/clipboard/msd-clipboard-manager.c b/plugins/clipboard/msd-clipboard-manager.c index f2d7e62..fc07228 100644 --- a/plugins/clipboard/msd-clipboard-manager.c +++ b/plugins/clipboard/msd-clipboard-manager.c @@ -37,7 +37,6 @@ #include #include #include -#include #include #include @@ -151,11 +150,7 @@ send_selection_notify (MsdClipboardManager *manager, (XEvent *)¬ify); XSync (manager->priv->display, False); -#if GTK_CHECK_VERSION (3, 0, 0) gdk_error_trap_pop_ignored (); -#else - gdk_error_trap_pop (); -#endif } static void @@ -182,11 +177,7 @@ finish_selection_request (MsdClipboardManager *manager, False, NoEventMask, (XEvent *) ¬ify); XSync (manager->priv->display, False); -#if GTK_CHECK_VERSION (3, 0, 0) gdk_error_trap_pop_ignored (); -#else - gdk_error_trap_pop (); -#endif } static int @@ -562,11 +553,7 @@ convert_clipboard_target (IncrConversion *rdata, XSync (manager->priv->display, False); -#if GTK_CHECK_VERSION (3, 0, 0) gdk_error_trap_pop_ignored (); -#else - gdk_error_trap_pop (); -#endif } } } -- cgit v1.2.1