summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/testgtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 5a3d9993b..c004a077f 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -3270,7 +3270,7 @@ set_cursor (GtkWidget *spinner,
cursor = gdk_cursor_new (c);
gdk_window_set_cursor (widget->window, cursor);
- gdk_cursor_destroy (cursor);
+ gdk_cursor_unref (cursor);
}
static gint