actor: Annotate the allocation-changed signal
authorEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 5 Mar 2012 10:36:03 +0000 (10:36 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 5 Mar 2012 10:36:03 +0000 (10:36 +0000)
commit2aaa39e0080a180689f53f82bccda36bc400f885
tree3d4a7d5d751cb6d9cac6b7934b2bec1baebb73c3
parent796cf67503cce01f303b59d5280def4b8bdfd0b9
actor: Annotate the allocation-changed signal

The ActorBox passed to the ::allocation-changed signal should be
annotated as STATIC_SCOPE, given that it's a pointer to a structure
inside ClutterActorPrivate - hence there's no risk of it actually being
freed from a signal handler. This allows the GSignal machinery to avoid
a costly copy/free for each signal emission.
clutter/clutter-actor.c