mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
Fix clutter_x11_texture_pixmap_get/set_property() following change of PROP_WINDOW type.
PROP_WINDOW is now gulong, so we need to use appropriate GValue accessors.
This commit is contained in:
parent
c1de33fafe
commit
e8ef5153b1
@ -448,7 +448,7 @@ clutter_x11_texture_pixmap_set_property (GObject *object,
|
||||
break;
|
||||
case PROP_WINDOW:
|
||||
clutter_x11_texture_pixmap_set_window (texture,
|
||||
g_value_get_uint (value),
|
||||
g_value_get_ulong (value),
|
||||
priv->window_redirect_automatic);
|
||||
break;
|
||||
case PROP_WINDOW_REDIRECT_AUTOMATIC:
|
||||
@ -496,7 +496,7 @@ clutter_x11_texture_pixmap_get_property (GObject *object,
|
||||
g_value_set_boolean (value, priv->automatic_updates);
|
||||
break;
|
||||
case PROP_WINDOW:
|
||||
g_value_set_uint (value, priv->window);
|
||||
g_value_set_ulong (value, priv->window);
|
||||
break;
|
||||
case PROP_WINDOW_REDIRECT_AUTOMATIC:
|
||||
g_value_set_boolean (value, priv->window_redirect_automatic);
|
||||
|
Loading…
Reference in New Issue
Block a user