mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 04:22:05 +00:00
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,
|
NULL, NULL,
|
||||||
clutter_marshal_VOID__BOXED,
|
clutter_marshal_VOID__BOXED,
|
||||||
G_TYPE_NONE, 1,
|
G_TYPE_NONE, 1,
|
||||||
CLUTTER_TYPE_COLOR);
|
CLUTTER_TYPE_COLOR | G_SIGNAL_TYPE_STATIC_SCOPE);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ClutterActor::allocation-changed:
|
* ClutterActor::allocation-changed:
|
||||||
|
Loading…
Reference in New Issue
Block a user