summaryrefslogtreecommitdiff
path: root/src/gs-window.h
diff options
context:
space:
mode:
authorAlexei Sorokin <[email protected]>2017-01-15 18:24:34 +0300
committerAlexei Sorokin <[email protected]>2017-01-15 18:24:34 +0300
commit78e6e31dbde35a3f3dd4e95f2d8af90de2c17b1f (patch)
treebe328fdaee82db6fe18a0544a6434c337a4607a5 /src/gs-window.h
parent15d98b9835333ba174687b4ec58eae7bcc7d94e2 (diff)
downloadmate-screensaver-78e6e31dbde35a3f3dd4e95f2d8af90de2c17b1f.tar.bz2
mate-screensaver-78e6e31dbde35a3f3dd4e95f2d8af90de2c17b1f.tar.xz
avoid deprecated gdk_window_set_background functions
Which are completely broken in GTK+ 3.22. Also remove some redundant separate Gtk2 code.
Diffstat (limited to 'src/gs-window.h')
-rw-r--r--src/gs-window.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gs-window.h b/src/gs-window.h
index 22f9274..67d5055 100644
--- a/src/gs-window.h
+++ b/src/gs-window.h
@@ -66,13 +66,8 @@ void gs_window_set_monitor (GSWindow *window,
int monitor);
int gs_window_get_monitor (GSWindow *window);
-#if GTK_CHECK_VERSION (3, 0, 0)
void gs_window_set_background_surface (GSWindow *window,
- cairo_surface_t *surface);
-#else
-void gs_window_set_background_pixmap (GSWindow *window,
- GdkPixmap *pixmap);
-#endif
+ cairo_surface_t *surface);
void gs_window_set_lock_enabled (GSWindow *window,
gboolean lock_enabled);
void gs_window_set_logout_enabled (GSWindow *window,