aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/gtk/tcp_graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/tcp_graph.c b/ui/gtk/tcp_graph.c
index e50051cf7f..d7bd311ea9 100644
--- a/ui/gtk/tcp_graph.c
+++ b/ui/gtk/tcp_graph.c
@@ -593,7 +593,7 @@ static void set_busy_cursor(GdkWindow *w)
cursor = gdk_cursor_new(GDK_WATCH);
gdk_window_set_cursor(w, cursor);
gdk_flush();
- gdk_cursor_unref(cursor);
+ g_object_unref(cursor);
}
static void unset_busy_cursor(GdkWindow *w)