diff options
author | Stefano Karapetsas <[email protected]> | 2014-01-24 16:17:47 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-01-24 16:17:47 +0100 |
commit | 68341c156377131681ef80af1c9201f212bbd96c (patch) | |
tree | bdded276879b041cc03ca453ca9689ffe43b0fd6 /capplets/appearance/appearance-desktop.c | |
parent | 1893a77af55cd2e87e4e249193a9203b1a7a0c69 (diff) | |
download | mate-control-center-68341c156377131681ef80af1c9201f212bbd96c.tar.bz2 mate-control-center-68341c156377131681ef80af1c9201f212bbd96c.tar.xz |
appearance: Add GTK3 support
Diffstat (limited to 'capplets/appearance/appearance-desktop.c')
-rw-r--r-- | capplets/appearance/appearance-desktop.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/capplets/appearance/appearance-desktop.c b/capplets/appearance/appearance-desktop.c index 24282ab5..68719587 100644 --- a/capplets/appearance/appearance-desktop.c +++ b/capplets/appearance/appearance-desktop.c @@ -214,7 +214,11 @@ wp_add_images (AppearanceData *data, cursor = gdk_cursor_new_for_display (gdk_display_get_default (), GDK_WATCH); gdk_window_set_cursor (window, cursor); +#if GTK_CHECK_VERSION (3, 0, 0) + g_object_unref (cursor); +#else gdk_cursor_unref (cursor); +#endif while (images != NULL) { |