summaryrefslogtreecommitdiff
path: root/src/test-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test-window.c')
-rw-r--r--src/test-window.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test-window.c b/src/test-window.c
index 1a5fd42..92166d1 100644
--- a/src/test-window.c
+++ b/src/test-window.c
@@ -123,22 +123,12 @@ test_window (void)
gboolean lock_active;
gboolean user_switch_enabled;
GdkDisplay *display;
-#if GTK_CHECK_VERSION (3, 22, 0)
GdkMonitor *monitor;
-#else
- GdkScreen *screen;
- int monitor;
-#endif
lock_active = TRUE;
user_switch_enabled = TRUE;
display = gdk_display_get_default ();
-#if GTK_CHECK_VERSION (3, 22, 0)
monitor = gdk_display_get_primary_monitor (display);
-#else
- screen = gdk_display_get_default_screen (display);
- monitor = gdk_screen_get_primary_monitor (screen);
-#endif
window = gs_window_new (display, monitor, lock_active);