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:
Colomban Wendling 2016-10-22 16:04:05 +02:00 committed by Philip Withnall
parent 1508db2f66
commit b090a079f7

View File

@ -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>