From 78e6e31dbde35a3f3dd4e95f2d8af90de2c17b1f Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Sun, 15 Jan 2017 18:24:34 +0300 Subject: avoid deprecated gdk_window_set_background functions Which are completely broken in GTK+ 3.22. Also remove some redundant separate Gtk2 code. --- src/gs-window.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/gs-window.h') 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, -- cgit v1.2.1