summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--maximus/xutils.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/maximus/xutils.c b/maximus/xutils.c
index b082ced..1ca894a 100644
--- a/maximus/xutils.c
+++ b/maximus/xutils.c
@@ -43,11 +43,7 @@ _wnck_error_trap_push (void)
int
_wnck_error_trap_pop (void)
{
-#if GTK_CHECK_VERSION (3, 0, 0)
XSync (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), False);
-#else
- XSync (gdk_display, False);
-#endif
return gdk_error_trap_pop ();
}
@@ -82,11 +78,7 @@ _wnck_get_wmclass (Window xwindow,
ch.res_name = NULL;
ch.res_class = NULL;
-#if GTK_CHECK_VERSION (3, 0, 0)
XGetClassHint (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()),
-#else
- XGetClassHint (gdk_display,
-#endif
xwindow,
&ch);