diff options
Diffstat (limited to 'lib/egg/egg-editable-toolbar.c')
-rw-r--r-- | lib/egg/egg-editable-toolbar.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/egg/egg-editable-toolbar.c b/lib/egg/egg-editable-toolbar.c index 44f393dc4..24649e367 100644 --- a/lib/egg/egg-editable-toolbar.c +++ b/lib/egg/egg-editable-toolbar.c @@ -439,7 +439,11 @@ configure_item_cursor (GtkToolItem *item, cursor = gdk_cursor_new_for_display (gdk_screen_get_display (screen), GDK_HAND2); gdk_window_set_cursor (window, cursor); +#if GTK_CHECK_VERSION (3,0,0) + g_object_unref (cursor); +#else gdk_cursor_unref (cursor); +#endif gtk_drag_source_set (widget, GDK_BUTTON1_MASK, dest_drag_types, G_N_ELEMENTS (dest_drag_types), GDK_ACTION_MOVE); |