mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
rotate-action: Use the correct accumulator
The boolean_handled accumulator will stop the signal emission if TRUE is returned by a signal handler; the boolean_continue accumulator will stop the signal emission if FALSE is returned. The first one is used for event-related signals, while the latter is used for action-related signals.
This commit is contained in:
parent
00f7fc4e58
commit
202d95d180
@ -207,7 +207,7 @@ clutter_rotate_action_class_init (ClutterRotateActionClass *klass)
|
||||
G_TYPE_FROM_CLASS (klass),
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (ClutterRotateActionClass, rotate),
|
||||
_clutter_boolean_handled_accumulator, NULL,
|
||||
_clutter_boolean_continue_accumulator, NULL,
|
||||
_clutter_marshal_VOID__OBJECT_DOUBLE,
|
||||
G_TYPE_BOOLEAN, 2,
|
||||
CLUTTER_TYPE_ACTOR,
|
||||
|
Loading…
Reference in New Issue
Block a user