gtkxpaned: Use g_object_unref() instead of gdk_cursor_unref().
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 30 Jul 2013 05:01:52 +0000 (22:01 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 30 Jul 2013 05:01:52 +0000 (22:01 -0700)
gdk_cursor_unref() is deprecated in GTK+3.

lib/gtk-contrib/gtkxpaned.c

index 52be74adaafdb1de9878449118431b4a83b1c07b..315f370caf9fd0113b0bfb0bd161b152b5b64064 100644 (file)
@@ -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);