summaryrefslogtreecommitdiff
path: root/utils/gdm-screenshot.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/gdm-screenshot.c')
-rw-r--r--utils/gdm-screenshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/gdm-screenshot.c b/utils/gdm-screenshot.c
index 01b35852..5d20929a 100644
--- a/utils/gdm-screenshot.c
+++ b/utils/gdm-screenshot.c
@@ -76,7 +76,7 @@ screenshot_grab_lock (void)
cursor = gdk_cursor_new_for_display (gdk_display_get_default (), GDK_WATCH);
gdk_pointer_grab (gtk_widget_get_window (selection_window), FALSE, 0, NULL,
cursor, GDK_CURRENT_TIME);
- gdk_cursor_unref (cursor);
+ g_object_unref (cursor);
result = TRUE;