diff options
author | Stefano Karapetsas <[email protected]> | 2014-05-04 21:56:02 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-05-04 21:56:02 +0200 |
commit | 5e54ce21100e02e0543d891e3bf8dc1782fa0db2 (patch) | |
tree | f6d4bfa6fff009b872c3b36289fcb8e6fc066390 /libmate-desktop/mate-colorsel.c | |
parent | 19fa2a293205c25f2be9791c11973ea6134e8758 (diff) | |
download | mate-desktop-5e54ce21100e02e0543d891e3bf8dc1782fa0db2.tar.bz2 mate-desktop-5e54ce21100e02e0543d891e3bf8dc1782fa0db2.tar.xz |
Fix gdk_cursor_unref deprecation
Diffstat (limited to 'libmate-desktop/mate-colorsel.c')
-rw-r--r-- | libmate-desktop/mate-colorsel.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmate-desktop/mate-colorsel.c b/libmate-desktop/mate-colorsel.c index 79ae054..cb27572 100644 --- a/libmate-desktop/mate-colorsel.c +++ b/libmate-desktop/mate-colorsel.c @@ -2098,7 +2098,11 @@ get_screen_color (GtkWidget *button) NULL, picker_cursor, time); +#if GTK_CHECK_VERSION (3, 0, 0) + g_object_unref (picker_cursor); +#else gdk_cursor_unref (picker_cursor); +#endif if (grab_status != GDK_GRAB_SUCCESS) { |