diff options
author | Laszlo Boros <[email protected]> | 2013-06-28 17:21:03 +0200 |
---|---|---|
committer | Laszlo Boros <[email protected]> | 2013-06-28 17:21:03 +0200 |
commit | 0393e55bde712d4a20918e27a1aca133bca62fdb (patch) | |
tree | 5fc54aa63c7580129cc70c6080628d8e176e9b47 /libmate-desktop/mate-bg-crossfade.c | |
parent | 73937e2949c41ed0f5c7e0825c188da2248bb7fd (diff) | |
download | mate-desktop-0393e55bde712d4a20918e27a1aca133bca62fdb.tar.bz2 mate-desktop-0393e55bde712d4a20918e27a1aca133bca62fdb.tar.xz |
GTK3 compatibility.
Diffstat (limited to 'libmate-desktop/mate-bg-crossfade.c')
-rw-r--r-- | libmate-desktop/mate-bg-crossfade.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmate-desktop/mate-bg-crossfade.c b/libmate-desktop/mate-bg-crossfade.c index 40439a5..3c870f1 100644 --- a/libmate-desktop/mate-bg-crossfade.c +++ b/libmate-desktop/mate-bg-crossfade.c @@ -45,6 +45,10 @@ #define cairo_surface_destroy g_object_unref #endif +#if GTK_CHECK_VERSION(3, 0, 0) +#define GDK_WINDOW_TYPE(d) (gdk_window_get_window_type (GDK_WINDOW (d))) +#endif + struct _MateBGCrossfadePrivate { GdkWindow *window; |