summaryrefslogtreecommitdiff
path: root/src/gs-window.h
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/gs-window.h
parentc862d81db1e0ae1ce1f62a3aac1d915f5036c81c (diff)
downloadmate-screensaver-4adeed72b79d1cfade262f5b2a63fdb8a796b1cb.tar.bz2
mate-screensaver-4adeed72b79d1cfade262f5b2a63fdb8a796b1cb.tar.xz
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'src/gs-window.h')
-rw-r--r--src/gs-window.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/gs-window.h b/src/gs-window.h
index 7878a94..903beae 100644
--- a/src/gs-window.h
+++ b/src/gs-window.h
@@ -60,15 +60,10 @@ gboolean gs_window_is_obscured (GSWindow *window);
gboolean gs_window_is_dialog_up (GSWindow *window);
GdkDisplay * gs_window_get_display (GSWindow *window);
-#if GTK_CHECK_VERSION (3, 22, 0)
+
void gs_window_set_monitor (GSWindow *window,
GdkMonitor *monitor);
GdkMonitor * gs_window_get_monitor (GSWindow *window);
-#else
-void gs_window_set_monitor (GSWindow *window,
- int monitor);
-int gs_window_get_monitor (GSWindow *window);
-#endif
void gs_window_set_background_surface (GSWindow *window,
cairo_surface_t *surface);
@@ -97,11 +92,7 @@ void gs_window_request_unlock (GSWindow *window);
void gs_window_cancel_unlock_request (GSWindow *window);
GSWindow * gs_window_new (GdkDisplay *display,
-#if GTK_CHECK_VERSION (3, 22, 0)
GdkMonitor *monitor,
-#else
- int monitor,
-#endif
gboolean lock_enabled);
void gs_window_show (GSWindow *window);
void gs_window_destroy (GSWindow *window);