Add ::queue-relayout signal to ClutterActor for ClutterClone
authorOwen W. Taylor <otaylor@fishsoup.net>
Sat, 8 Aug 2009 01:16:04 +0000 (21:16 -0400)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 20 Aug 2009 13:12:54 +0000 (14:12 +0100)
commit93e1d8e7a35afd0f1c08022bdf0f04154ad08ef1
tree6e727a49b8c0b5fade9bd7a0a75ce991f2cd2969
parent56daae9d7bc49a29a4e1c4e093928efb747ed675
Add ::queue-relayout signal to ClutterActor for ClutterClone

ClutterClone bases its preferred size on the preferred size of
the source actor, so it needs to invalid its cached preferred
size when the preferred size of the source actor changes.

In order for this to work, we need to have notification when
the size of the source actor changes, so add a ::queue-relayout
signal to ClutterActor.

Then connect to this from ClutterClone and queue a relayout
on the clone when a relayout is queued on the source.

http://bugzilla.openedhand.com/show_bug.cgi?id=1755

Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
clutter/clutter-actor.c
clutter/clutter-actor.h
clutter/clutter-clone.c