Correct the documentation GSignalEmissionHook (#110906) and some cleanups.

2003-04-18  Matthias Clasen  <maclas@gmx.de>

	* gobject/tmpl/signals.sgml: Correct the documentation
	GSignalEmissionHook (#110906) and some cleanups.
This commit is contained in:
Matthias Clasen 2003-04-18 00:17:16 +00:00 committed by Matthias Clasen
parent 890792db1a
commit b9415110b1
2 changed files with 15 additions and 18 deletions

View File

@ -1,3 +1,8 @@
2003-04-18 Matthias Clasen <maclas@gmx.de>
* gobject/tmpl/signals.sgml: Correct the documentation
GSignalEmissionHook (#110906) and some cleanups.
2003-04-11 Matthias Clasen <maclas@gmx.de> 2003-04-11 Matthias Clasen <maclas@gmx.de>
* gobject/tmpl/gparamspec.sgml: Fix a few typos. * gobject/tmpl/gparamspec.sgml: Fix a few typos.

View File

@ -46,7 +46,7 @@ A signal emission consists of five stages, unless prematurely stopped:
5 - Invocation of the object method handler for %G_SIGNAL_RUN_CLEANUP signals 5 - Invocation of the object method handler for %G_SIGNAL_RUN_CLEANUP signals
</para></listitem></varlistentry> </para></listitem></varlistentry>
</variablelist> </variablelist>
The user provided signal handlers are called in the order they were The user-provided signal handlers are called in the order they were
connected in. connected in.
All handlers may prematurely stop a signal emission, and any number of All handlers may prematurely stop a signal emission, and any number of
handlers may be connected, disconnected, blocked or unblocked during handlers may be connected, disconnected, blocked or unblocked during
@ -87,7 +87,7 @@ to callbacks during a signal emission.
The signal accumulator is a special callback function that can be used The signal accumulator is a special callback function that can be used
to collect return values of the various callbacks that are called to collect return values of the various callbacks that are called
during a signal emission. The signal accumulator is specified at signal during a signal emission. The signal accumulator is specified at signal
creation time, if it is left NULL, no accumulation of callback return creation time, if it is left %NULL, no accumulation of callback return
values is performed. The return value of signal emissions is then the values is performed. The return value of signal emissions is then the
value returned by the last callback. value returned by the last callback.
</para> </para>
@ -100,8 +100,6 @@ value returned by the last callback.
@Returns: The accumulator function returns whether the signal emission @Returns: The accumulator function returns whether the signal emission
should be aborted. Returning %FALSE means to abort the should be aborted. Returning %FALSE means to abort the
current emission and %TRUE is returned for continuation. current emission and %TRUE is returned for continuation.
<!-- # Unused Parameters # -->
@return_value: The return value of the most recent callback function.
<!-- ##### TYPEDEF GSignalCMarshaller ##### --> <!-- ##### TYPEDEF GSignalCMarshaller ##### -->
@ -130,7 +128,7 @@ You may not attach these to signals created with the #G_SIGNAL_NO_HOOKS flag.
@param_values: the instance on which the signal was emitted, followed by the @param_values: the instance on which the signal was emitted, followed by the
parameters of the emission. parameters of the emission.
@data: user data associated with the hook. @data: user data associated with the hook.
@Returns: whether it wished to be removed. If it returns %TRUE, the signal @Returns: whether it wants to stay connected. If it returns %FALSE, the signal
hook is disconnected (and destroyed). hook is disconnected (and destroyed).
@ -490,21 +488,15 @@ calling the handler.
<!-- ##### FUNCTION g_signal_connect_object ##### --> <!-- ##### FUNCTION g_signal_connect_object ##### -->
<para> <para>
* This is similar to g_signal_connect_data(), but uses a closure which This is similar to g_signal_connect_data(), but uses a closure which
* ensures that the object stays alive during the call to @c_handler. ensures that the object stays alive during the call to @c_handler.
</para> </para>
* @instance: the instance to connect to. @instance: the instance to connect to.
* @detailed_signal: a string of the form "signal-name::detail". @detailed_signal: a string of the form "signal-name::detail".
* @c_handler: the #GCallback to connect. @c_handler: the #GCallback to connect.
* @gobject: the object to pass as data to @c_handler. @gobject: the object to pass as data to @c_handler.
* @connect_flags: a combination of #GConnnectFlags. @connect_flags: a combination of #GConnnectFlags.
@instance:
@detailed_signal:
@c_handler:
@gobject:
@connect_flags:
@Returns: the handler id. @Returns: the handler id.