actor: Flag the color argument of the ::pick signal as being constant
When emitting signals, one can mark arguments as being "static", ie an indication this argument will not change during the signal emission. This allows the signal marshalling code to create static GValues, in this case not to copy the Color. http://bugzilla.openedhand.com/show_bug.cgi?id=2073
This commit is contained in:
parent
93a5b78e5a
commit
e0f41fa166
@ -4494,7 +4494,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
|
||||
NULL, NULL,
|
||||
clutter_marshal_VOID__BOXED,
|
||||
G_TYPE_NONE, 1,
|
||||
CLUTTER_TYPE_COLOR);
|
||||
CLUTTER_TYPE_COLOR | G_SIGNAL_TYPE_STATIC_SCOPE);
|
||||
|
||||
/**
|
||||
* ClutterActor::allocation-changed:
|
||||
|
Loading…
Reference in New Issue
Block a user