]> www.fi.muni.cz Git - evince.git/blobdiff - cut-n-paste/toolbar-editor/egg-toolbar-editor.c
toolbar-editor: Don't use gdk_cursor_unref()
[evince.git] / cut-n-paste / toolbar-editor / egg-toolbar-editor.c
index 349daf0062cb29774e322d9b7a79915ee2ca08ca..9d314082622450cbc234ad7f4dbf3fcf6d1215ac 100644 (file)
@@ -364,7 +364,7 @@ set_drag_cursor (GtkWidget *widget)
   cursor = gdk_cursor_new_for_display (gdk_screen_get_display (screen),
                                       GDK_HAND2);
   gdk_window_set_cursor (gtk_widget_get_window (widget), cursor);
-  gdk_cursor_unref (cursor);
+  g_object_unref (cursor);
 }
 
 static void