diff options
author | Stefano Karapetsas <[email protected]> | 2013-11-12 16:50:44 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-11-12 16:50:44 +0100 |
commit | d5027c1631b5db4197f9d3a6aa518ce0265ac05f (patch) | |
tree | cf5bcdc0b965a1a1f803bbd704300ef51255cb8f /src/gs-window.h | |
parent | fa5f117527e6674168ef613b5e50190fa08d9e26 (diff) | |
download | mate-screensaver-d5027c1631b5db4197f9d3a6aa518ce0265ac05f.tar.bz2 mate-screensaver-d5027c1631b5db4197f9d3a6aa518ce0265ac05f.tar.xz |
Add GTK3 support
Diffstat (limited to 'src/gs-window.h')
-rw-r--r-- | src/gs-window.h | 5 |
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, |