layout: allow wider use of the CLUTTER_ACTOR_NO_LAYOUT flag
authorRobert Bragg <robert@linux.intel.com>
Thu, 11 Feb 2010 11:45:36 +0000 (11:45 +0000)
committerRobert Bragg <robert@linux.intel.com>
Wed, 24 Feb 2010 12:07:23 +0000 (12:07 +0000)
commit523bab0868255e3f2b2910a60a868bffeb5bf64a
tree203be8f92af0ee373e56ca67aaa4e89115fa45d9
parentf21e649c80a3e0db5db7dc1128f7828535dbebc2
layout: allow wider use of the CLUTTER_ACTOR_NO_LAYOUT flag

Previously only ClutterGroup was able to set the CLUTTER_ACTOR_NO_LAYOUT
flag which allows clutter-actor.c to avoid a relayout when showing or
hiding fixed layout containers. Instead of it being the responsibility
of the container to set this flag this patch makes the layout manager
itself decide in the ::set_container method. This way both ClutterBox
and ClutterGroup can take advantage of the optimization.
clutter/clutter-fixed-layout.c
clutter/clutter-group.c