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:
Tomas Frydrych 2009-01-29 12:25:18 +00:00 committed by Tomas Frydrych
parent c1de33fafe
commit e8ef5153b1

View File

@ -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);