diff options
author | Alexei Sorokin <[email protected]> | 2017-03-12 15:07:16 +0300 |
---|---|---|
committer | Alexei Sorokin <[email protected]> | 2017-03-12 15:07:16 +0300 |
commit | 970f027a7b245f4782827834f265294c5a0770db (patch) | |
tree | 0eed3bd92ea45982ca7c973c369c08d86c64610c /libmate-desktop/mate-bg-crossfade.h | |
parent | fc3de40af9363642ab65929a17250f3ba4477239 (diff) | |
download | mate-desktop-970f027a7b245f4782827834f265294c5a0770db.tar.bz2 mate-desktop-970f027a7b245f4782827834f265294c5a0770db.tar.xz |
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.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libmate-desktop/mate-bg-crossfade.h b/libmate-desktop/mate-bg-crossfade.h index 912da20..af6b206 100644 --- a/libmate-desktop/mate-bg-crossfade.h +++ b/libmate-desktop/mate-bg-crossfade.h @@ -69,7 +69,9 @@ gboolean mate_bg_crossfade_set_end_surface (MateBGCrossfade *fade, cairo_surface_t *surface); 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); |