mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-28 03:48:53 +02:00
Merge branch 'G_SIGNAL_RUN_CLEANUP_do_not_call_accumulate' into 'master'
Run the accumulator function for RUN_CLEANUP object handlers too Closes #512 See merge request GNOME/glib!1053
This commit is contained in:
@@ -3759,9 +3759,14 @@ signal_emit_unlocked_R (SignalNode *node,
|
||||
node->n_params + 1,
|
||||
instance_and_params,
|
||||
&emission.ihint);
|
||||
if (!accumulate (&emission.ihint, emission_return, &accu, accumulator) &&
|
||||
emission.state == EMISSION_RUN)
|
||||
emission.state = EMISSION_STOP;
|
||||
if (need_unset)
|
||||
g_value_unset (&accu);
|
||||
SIGNAL_LOCK ();
|
||||
return_value_altered = TRUE;
|
||||
|
||||
emission.chain_type = G_TYPE_NONE;
|
||||
|
||||
if (emission.state == EMISSION_RESTART)
|
||||
|
Reference in New Issue
Block a user