#define gtk_vpaned_new() gtk_paned_new (GTK_ORIENTATION_VERTICAL)
#define gtk_hpaned_new() gtk_paned_new (GTK_ORIENTATION_HORIZONTAL)
-#define gdk_cursor_unref(X) g_object_unref (X)
-
#if (GTK_CHECK_VERSION(3,8,0) == 0)
#define gtk_widget_register_window(widget, window) gdk_window_set_user_data (window, widget);
#endif
GdkDisplay *display = gtk_widget_get_display (widget);
GdkCursor *cursor = gdk_cursor_new_for_display (display, GDK_WATCH);
gdk_window_set_cursor (gtk_widget_get_window (widget), cursor);
- gdk_cursor_unref (cursor);
+ g_object_unref (cursor);
gdk_display_flush (display);
}
}