Small addition. (#145158, Mariano Suárez-Alvarez)

2005-01-04  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/signals.sgml: Small addition. (#145158,
	Mariano Suárez-Alvarez)
This commit is contained in:
Matthias Clasen 2005-01-04 18:40:02 +00:00 committed by Matthias Clasen
parent 44fea2aa61
commit 38c39a7cfd
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2005-01-04 Matthias Clasen <mclasen@redhat.com>
* gobject/tmpl/signals.sgml: Small addition. (#145158,
Mariano Suárez-Alvarez)
2004-12-20 Matthias Clasen <mclasen@redhat.com> 2004-12-20 Matthias Clasen <mclasen@redhat.com>
* gobject/tmpl/signals.sgml: Fix a typo. (#161713, * gobject/tmpl/signals.sgml: Fix a typo. (#161713,

View File

@ -536,14 +536,18 @@ connection.
<!-- ##### FUNCTION g_signal_connect_data ##### --> <!-- ##### FUNCTION g_signal_connect_data ##### -->
<para> <para>
Connects a #GCallback function to a signal for a particular object. Connects a #GCallback function to a signal for a particular object. Similar
to g_signal_connect(), but allows to provide a #GDestroyNotify for the data
which will be called when the signal handler is disconnected and no longer
used. Specify @connect_flags if you need <literal>..._after()</literal> pr
<literal>..._swapped()</literal> variants of this function.
</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.
@data: data to pass to @c_handler calls. @data: data to pass to @c_handler calls.
@destroy_data: a #GDestroyNotify for @data. @destroy_data: a #GDestroyNotify for @data.
@connect_flags: a combination of #GConnectFlags. @connect_flags: a combination of #GConnectFlags.
@Returns: the handler id @Returns: the handler id
@ -555,7 +559,7 @@ Connects a closure to a signal for a particular object.
@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".
@closure: the closure to connect. @closure: the closure to connect.
@after: whether the handler should be called before or after the @after: whether the handler should be called before or after the
default handler of the signal. default handler of the signal.
@Returns: the handler id @Returns: the handler id