]> www.fi.muni.cz Git - evince.git/blobdiff - cut-n-paste/toolbar-editor/egg-editable-toolbar.c
toolbar-editor: Don't use gdk_cursor_unref()
[evince.git] / cut-n-paste / toolbar-editor / egg-editable-toolbar.c
index fadfed8d66ce15e8e7718aba7e514606cb6216ed..7772959f6dd38a29488c9e4fa3d09620b1525af6 100644 (file)
@@ -439,7 +439,7 @@ configure_item_cursor (GtkToolItem *item,
           cursor = gdk_cursor_new_for_display (gdk_screen_get_display (screen),
                                               GDK_HAND2);
           gdk_window_set_cursor (window, cursor);
-          gdk_cursor_unref (cursor);
+          g_object_unref (cursor);
 
           gtk_drag_source_set (widget, GDK_BUTTON1_MASK, dest_drag_types,
                                G_N_ELEMENTS (dest_drag_types), GDK_ACTION_MOVE);