summaryrefslogtreecommitdiff
path: root/src/test-fade.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test-fade.c')
-rw-r--r--src/test-fade.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/test-fade.c b/src/test-fade.c
index b906460..6a82d21 100644
--- a/src/test-fade.c
+++ b/src/test-fade.c
@@ -101,11 +101,7 @@ main (int argc,
exit (1);
}
-#if GTK_CHECK_VERSION (3, 0, 0)
if (! XQueryExtension (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), XF86_VIDMODE_NAME, &op, &event, &err))
-#else
- if (! XQueryExtension (GDK_DISPLAY (), XF86_VIDMODE_NAME, &op, &event, &err))
-#endif
{
g_message ("no " XF86_VIDMODE_NAME " extension");
}
@@ -115,11 +111,7 @@ main (int argc,
int major;
int minor;
-#if GTK_CHECK_VERSION (3, 0, 0)
if (! XF86VidModeQueryVersion (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), &major, &minor))
-#else
- if (! XF86VidModeQueryVersion (GDK_DISPLAY (), &major, &minor))
-#endif
{
g_message ("unable to get " XF86_VIDMODE_NAME " version");
}