summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-bg-crossfade.h
diff options
context:
space:
mode:
authorAlexei Sorokin <[email protected]>2017-03-12 14:59:46 +0300
committerAlexei Sorokin <[email protected]>2017-03-12 14:59:46 +0300
commit0b2d6bb914fdf215e3ec28997c4f193856e8e439 (patch)
tree5e38c19801f94f3bb19cda27f8279056edf90b6e /libmate-desktop/mate-bg-crossfade.h
parentc164299a238b9f78c69a408785dd55c68b588606 (diff)
downloadmate-desktop-0b2d6bb914fdf215e3ec28997c4f193856e8e439.tar.bz2
mate-desktop-0b2d6bb914fdf215e3ec28997c4f193856e8e439.tar.xz
GTK+-3.22: Avoid deprecated gdk_window_set_background functions
Allows to fix backgrounds in Caja and fixes fading. These changes somewhat break API behavior.
Diffstat (limited to 'libmate-desktop/mate-bg-crossfade.h')
-rw-r--r--libmate-desktop/mate-bg-crossfade.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libmate-desktop/mate-bg-crossfade.h b/libmate-desktop/mate-bg-crossfade.h
index f4674fd..893592c 100644
--- a/libmate-desktop/mate-bg-crossfade.h
+++ b/libmate-desktop/mate-bg-crossfade.h
@@ -77,7 +77,9 @@ gboolean mate_bg_crossfade_set_end_pixmap (MateBGCrossfade *fade,
#endif
void mate_bg_crossfade_start (MateBGCrossfade *fade,
- GdkWindow *window);
+ GdkWindow *window);
+void mate_bg_crossfade_start_widget (MateBGCrossfade *fade,
+ GtkWidget *widget);
gboolean mate_bg_crossfade_is_started (MateBGCrossfade *fade);
void mate_bg_crossfade_stop (MateBGCrossfade *fade);