From d5027c1631b5db4197f9d3a6aa518ce0265ac05f Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Tue, 12 Nov 2013 16:50:44 +0100 Subject: Add GTK3 support --- src/gs-window.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gs-window.h') diff --git a/src/gs-window.h b/src/gs-window.h index 860118c..22f9274 100644 --- a/src/gs-window.h +++ b/src/gs-window.h @@ -66,8 +66,13 @@ 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 void gs_window_set_lock_enabled (GSWindow *window, gboolean lock_enabled); void gs_window_set_logout_enabled (GSWindow *window, -- cgit v1.2.1