[glib] Fix documentation about stopping signal emission from inside a hook



commit b090a079f7aef1a9f8d377d249e26f9af48e0862
Author: Colomban Wendling <ban herbesfolles org>
Date:   Sat Oct 22 16:04:05 2016 +0200

    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

 docs/reference/gobject/tut_gsignal.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/docs/reference/gobject/tut_gsignal.xml b/docs/reference/gobject/tut_gsignal.xml
index f990ab8..4ed4211 100644
--- a/docs/reference/gobject/tut_gsignal.xml
+++ b/docs/reference/gobject/tut_gsignal.xml
@@ -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>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]