diff options
author | monsta <[email protected]> | 2016-11-20 22:24:08 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-11-20 22:24:08 +0300 |
commit | de1227d4355f56017270f3a7541b8be21fd955af (patch) | |
tree | 37ad9b1c13c571ed51da2c5649e33cb9a2a9e7fe /plugins/background | |
parent | c0e9048f916f4141292ca3b107735496e698cac5 (diff) | |
download | mate-settings-daemon-de1227d4355f56017270f3a7541b8be21fd955af.tar.bz2 mate-settings-daemon-de1227d4355f56017270f3a7541b8be21fd955af.tar.xz |
move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option
and require libmatekbd and libmate-desktop >= 1.17
Diffstat (limited to 'plugins/background')
-rw-r--r-- | plugins/background/msd-background-manager.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/background/msd-background-manager.c b/plugins/background/msd-background-manager.c index ca5bc79..bf1400d 100644 --- a/plugins/background/msd-background-manager.c +++ b/plugins/background/msd-background-manager.c @@ -46,14 +46,6 @@ #include "mate-settings-profile.h" #include "msd-background-manager.h" -#if !GTK_CHECK_VERSION(3, 0, 0) -#define cairo_surface_t GdkPixmap -#define cairo_surface_destroy g_object_unref -#define mate_bg_create_surface mate_bg_create_pixmap -#define mate_bg_set_surface_as_root mate_bg_set_pixmap_as_root -#define mate_bg_set_surface_as_root_with_crossfade mate_bg_set_pixmap_as_root_with_crossfade -#endif - #define MATE_SESSION_MANAGER_DBUS_NAME "org.gnome.SessionManager" #define MATE_SESSION_MANAGER_DBUS_PATH "/org/gnome/SessionManager" @@ -162,6 +154,7 @@ caja_is_drawing_bg (MsdBackgroundManager *manager) return running; } #endif + static void free_fade (MsdBackgroundManager *manager) { |