summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-bg-crossfade.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-07-07 09:34:44 -0700
committerStefano Karapetsas <[email protected]>2013-07-07 09:34:44 -0700
commit0ebd2b956ab49e022bac0bfc3741a88f82719013 (patch)
tree5fc54aa63c7580129cc70c6080628d8e176e9b47 /libmate-desktop/mate-bg-crossfade.c
parent73937e2949c41ed0f5c7e0825c188da2248bb7fd (diff)
parent0393e55bde712d4a20918e27a1aca133bca62fdb (diff)
downloadmate-desktop-0ebd2b956ab49e022bac0bfc3741a88f82719013.tar.bz2
mate-desktop-0ebd2b956ab49e022bac0bfc3741a88f82719013.tar.xz
Merge pull request #67 from Semmu/dev-gtk3
GTK3 compatibility.
Diffstat (limited to 'libmate-desktop/mate-bg-crossfade.c')
-rw-r--r--libmate-desktop/mate-bg-crossfade.c4
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;