Bug 596494 - New property "cursor" in 2.18's GdkWindow with wrong type?

Use a boxed paramspec with GDK_TYPE_CURSOR instead of a pointer paramspec.
This commit is contained in:
Cody Russell 2009-09-27 14:37:19 -05:00
parent f2d9f5a9e6
commit fe188a18f3

View File

@ -468,10 +468,11 @@ gdk_window_class_init (GdkWindowObjectClass *klass)
/* Properties */
g_object_class_install_property (object_class,
PROP_CURSOR,
g_param_spec_pointer ("cursor",
P_("Cursor"),
P_("Cursor"),
G_PARAM_READWRITE));
g_param_spec_boxed ("cursor",
P_("Cursor"),
P_("Cursor"),
GDK_TYPE_CURSOR,
G_PARAM_READWRITE));
/**
* GdkWindow::pick-embedded-child: