Replace gdk_cursor_unref() with g_object_unref()

This commit is contained in:
Michael Natterer
2010-12-29 15:30:20 +01:00
parent 8c975484ab
commit ce2cd374ee
15 changed files with 24 additions and 21 deletions

View File

@ -1438,7 +1438,7 @@ main_dialog (GimpDrawable *drawable)
cursor = gdk_cursor_new_for_display (gtk_widget_get_display (previewarea),
GDK_HAND2);
gdk_window_set_cursor (gtk_widget_get_window (previewarea), cursor);
gdk_cursor_unref (cursor);
g_object_unref (cursor);
}
image_setup (drawable, TRUE);