actor: Clear MetaGroups when empty
authorEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 12 Apr 2012 16:04:57 +0000 (17:04 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 12 Apr 2012 16:04:57 +0000 (17:04 +0100)
commit98c9dad42f5881f9ae48217d0adafe4ba510ea5a
treeb165efdcf566bd10d0b257e6df0d64098e7c7d55
parenta66fbd258e4011f059df4e3234fe9efe58f15320
actor: Clear MetaGroups when empty

When removing the last Action, Constraint, or Effect, we should also be
clearing the corresponding MetaGroup: code inside ClutterActor relies on
NULL checks, and changing them all to check for NULL && n_items == 0
would not be fun.
clutter/clutter-actor.c