From 3c2eb9f19111e4491fe91623263cb64a0350b536 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 29 Jul 2013 22:01:52 -0700 Subject: [PATCH] gtkxpaned: Use g_object_unref() instead of gdk_cursor_unref(). gdk_cursor_unref() is deprecated in GTK+3. --- lib/gtk-contrib/gtkxpaned.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/gtk-contrib/gtkxpaned.c b/lib/gtk-contrib/gtkxpaned.c index 52be74adaa..315f370caf 100644 --- a/lib/gtk-contrib/gtkxpaned.c +++ b/lib/gtk-contrib/gtkxpaned.c @@ -1311,11 +1311,11 @@ gtk_xpaned_realize (GtkWidget * widget) gdk_window_set_user_data (xpaned->handle_south, xpaned); gdk_window_set_user_data (xpaned->handle_middle, xpaned); - gdk_cursor_unref (attributes_east.cursor); - gdk_cursor_unref (attributes_west.cursor); - gdk_cursor_unref (attributes_north.cursor); - gdk_cursor_unref (attributes_south.cursor); - gdk_cursor_unref (attributes_middle.cursor); + g_object_unref (attributes_east.cursor); + g_object_unref (attributes_west.cursor); + g_object_unref (attributes_north.cursor); + g_object_unref (attributes_south.cursor); + g_object_unref (attributes_middle.cursor); { GtkStyle *style = gtk_widget_get_style (widget); -- 2.30.2