[texture] Queue a relayout when changing :keep-aspect-ratio

Bug 1528 - queue relayout when setting ClutterTexture:keep-aspect-ratio

Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:
Havoc Pennington 2009-03-30 17:32:54 +01:00 committed by Emmanuele Bassi
parent a362a4a889
commit 077e3192fd

View File

@ -835,6 +835,7 @@ clutter_texture_set_property (GObject *object,
break; break;
case PROP_KEEP_ASPECT_RATIO: case PROP_KEEP_ASPECT_RATIO:
priv->keep_aspect_ratio = g_value_get_boolean (value); priv->keep_aspect_ratio = g_value_get_boolean (value);
clutter_actor_queue_relayout (CLUTTER_ACTOR (object));
break; break;
case PROP_LOAD_DATA_ASYNC: case PROP_LOAD_DATA_ASYNC:
if (g_value_get_boolean (value)) if (g_value_get_boolean (value))