summaryrefslogtreecommitdiff
path: root/src/test-window.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-02-01 17:31:15 +0300
committerraveit65 <[email protected]>2018-02-01 18:28:04 +0100
commit4adeed72b79d1cfade262f5b2a63fdb8a796b1cb (patch)
tree3185460694f6829851d0777eee18432af702df89 /src/test-window.c
parentc862d81db1e0ae1ce1f62a3aac1d915f5036c81c (diff)
downloadmate-screensaver-4adeed72b79d1cfade262f5b2a63fdb8a796b1cb.tar.bz2
mate-screensaver-4adeed72b79d1cfade262f5b2a63fdb8a796b1cb.tar.xz
require GTK+ 3.22 and GLib 2.50
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);