Bug 1409 - Use G_SIGNAL_RUN_LAST with ::queue-redraw signal
The intention behind ::queue-redraw is to be able to block the default handler by attaching a callback and calling one of the g_signal_stop_emission variants. However this doesn't work, because ::queue-redraw has the G_SIGNAL_RUN_FIRST flag instead of G_SIGNAL_RUN_LAST.
This commit is contained in:
parent
01a5cb8430
commit
c998462c9f
@ -769,7 +769,7 @@ clutter_stage_class_init (ClutterStageClass *klass)
|
||||
stage_signals[QUEUE_REDRAW] =
|
||||
g_signal_new (I_("queue-redraw"),
|
||||
G_TYPE_FROM_CLASS (gobject_class),
|
||||
G_SIGNAL_RUN_FIRST,
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (ClutterStageClass, queue_redraw),
|
||||
NULL, NULL,
|
||||
clutter_marshal_VOID__VOID,
|
||||
|
Loading…
Reference in New Issue
Block a user