mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
Fix documentation about stopping signal emission from inside a hook
Stopping signal emission from an emission hook is, and always has been, actually forbidden. Update the documentation not to lie to the reader. https://bugzilla.gnome.org/show_bug.cgi?id=773355
This commit is contained in:
parent
1508db2f66
commit
b090a079f7
@ -390,8 +390,8 @@ void g_signal_emitv (const GValue *instance_and_params,
|
||||
</para>
|
||||
|
||||
<para>
|
||||
If, at any point during emission (except in <literal>RUN_CLEANUP</literal> state), one of the
|
||||
closures or emission hook stops the signal emission with
|
||||
If, at any point during emission (except in <literal>RUN_CLEANUP</literal> or
|
||||
<literal>EMISSION_HOOK</literal> state), one of the closures stops the signal emission with
|
||||
<function><link linkend="g-signal-stop-emission">g_signal_stop_emission</link></function>,
|
||||
emission jumps to <literal>RUN_CLEANUP</literal> state.
|
||||
</para>
|
||||
|
Loading…
Reference in New Issue
Block a user