actor: Remove G_SIGNAL_NO_RECURSE

As it turns out, we do end up recursing inside the ::paint signal
emission - especially inside the conformance test suite.

This thoroughly sucks - and we'll only be able to fix it properly
when we bump API for 2.0.
This commit is contained in:
Emmanuele Bassi 2012-03-15 17:41:28 +00:00
parent 6a8d67a8ad
commit 7f1f9a50c1

View File

@ -6253,7 +6253,6 @@ clutter_actor_class_init (ClutterActorClass *klass)
g_signal_new (I_("queue-redraw"), g_signal_new (I_("queue-redraw"),
G_TYPE_FROM_CLASS (object_class), G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST | G_SIGNAL_RUN_LAST |
G_SIGNAL_NO_RECURSE |
G_SIGNAL_NO_HOOKS, G_SIGNAL_NO_HOOKS,
G_STRUCT_OFFSET (ClutterActorClass, queue_redraw), G_STRUCT_OFFSET (ClutterActorClass, queue_redraw),
NULL, NULL, NULL, NULL,
@ -6282,7 +6281,6 @@ clutter_actor_class_init (ClutterActorClass *klass)
g_signal_new (I_("queue-relayout"), g_signal_new (I_("queue-relayout"),
G_TYPE_FROM_CLASS (object_class), G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST | G_SIGNAL_RUN_LAST |
G_SIGNAL_NO_RECURSE |
G_SIGNAL_NO_HOOKS, G_SIGNAL_NO_HOOKS,
G_STRUCT_OFFSET (ClutterActorClass, queue_relayout), G_STRUCT_OFFSET (ClutterActorClass, queue_relayout),
NULL, NULL, NULL, NULL,
@ -6571,7 +6569,6 @@ clutter_actor_class_init (ClutterActorClass *klass)
g_signal_new (I_("paint"), g_signal_new (I_("paint"),
G_TYPE_FROM_CLASS (object_class), G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST | G_SIGNAL_RUN_LAST |
G_SIGNAL_NO_RECURSE |
G_SIGNAL_NO_HOOKS, G_SIGNAL_NO_HOOKS,
G_STRUCT_OFFSET (ClutterActorClass, paint), G_STRUCT_OFFSET (ClutterActorClass, paint),
NULL, NULL, NULL, NULL,