From: Ben Pfaff Date: Tue, 30 Jul 2013 05:01:52 +0000 (-0700) Subject: gtkxpaned: Use g_object_unref() instead of gdk_cursor_unref(). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c2eb9f19111e4491fe91623263cb64a0350b536;p=pspp gtkxpaned: Use g_object_unref() instead of gdk_cursor_unref(). gdk_cursor_unref() is deprecated in GTK+3. --- 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);