Bug 1414 - avoid relayout of ClutterTexture if not syncing size

If a ClutterTexture does not sync size, it should be possible to
change the texture size without causing a relayout.

Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:
Havoc Pennington 2009-01-26 16:24:17 +00:00 committed by Emmanuele Bassi
parent 9ccae46bc1
commit 81f642d4b7

View File

@ -1225,7 +1225,8 @@ clutter_texture_set_cogl_texture (ClutterTexture *texture,
priv->width,
priv->height);
clutter_actor_queue_relayout (CLUTTER_ACTOR (texture));
if (priv->sync_actor_size)
clutter_actor_queue_relayout (CLUTTER_ACTOR (texture));
}
/* rename signal */