mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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:
parent
f2d9f5a9e6
commit
fe188a18f3
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user