summaryrefslogtreecommitdiff
path: root/src/gs-window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-window.h')
-rw-r--r--src/gs-window.h5
1 files changed, 5 insertions, 0 deletions
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,