mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +00:00
Use boxed accessors for setting and retrieving cursor property
This commit is contained in:
parent
77fc6e3539
commit
28d56cbbda
@ -613,7 +613,7 @@ gdk_window_set_property (GObject *object,
|
|||||||
switch (prop_id)
|
switch (prop_id)
|
||||||
{
|
{
|
||||||
case PROP_CURSOR:
|
case PROP_CURSOR:
|
||||||
gdk_window_set_cursor (window, g_value_get_pointer (value));
|
gdk_window_set_cursor (window, g_value_get_boxed (value));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@ -633,7 +633,7 @@ gdk_window_get_property (GObject *object,
|
|||||||
switch (prop_id)
|
switch (prop_id)
|
||||||
{
|
{
|
||||||
case PROP_CURSOR:
|
case PROP_CURSOR:
|
||||||
g_value_set_pointer (value, gdk_window_get_cursor (window));
|
g_value_set_boxed (value, gdk_window_get_cursor (window));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user