2008-06-17 Emmanuele Bassi <ebassi@openedhand.com>
authorEmmanuele Bassi <ebassi@openedhand.com>
Tue, 17 Jun 2008 09:33:18 +0000 (09:33 +0000)
committerEmmanuele Bassi <ebassi@openedhand.com>
Tue, 17 Jun 2008 09:33:18 +0000 (09:33 +0000)
commitec91b3d25353d94e405e67e84b5eb33524c23c2f
tree93ed22460043b5495e27770da8303c517976cb0f
parentd03314cb84d14d3059039aa92e5be99fc4e5e650
2008-06-17  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-actor.c:
(clutter_actor_set_parent): Document and maintain the invariant
that after setting a realized parent on an actor, the actor is
also going to be realized.

(clutter_actor_unparent): Change the invariant that an unparented
actor is also unrealized: the paint is fast enough to avoid
unrealizing, since it also causes more problems that what it's
worth.

* tests/test-invariants.c (test_show_on_set_parent): Update the
invariants test because we changed the invariants.
ChangeLog
clutter/clutter-actor.c
tests/test-invariants.c