From 38c39a7cfdeeff73f6eb77acd6f15ef2675e92b0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 4 Jan 2005 18:40:02 +0000 Subject: [PATCH] =?utf8?q?Small=20addition.=20(#145158,=20Mariano=20Su?= =?utf8?q?=C3=A1rez-Alvarez)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2005-01-04 Matthias Clasen * gobject/tmpl/signals.sgml: Small addition. (#145158, Mariano Suárez-Alvarez) --- docs/reference/ChangeLog | 5 +++++ docs/reference/gobject/tmpl/signals.sgml | 10 +++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 4d93801..1fb6134 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +2005-01-04 Matthias Clasen + + * gobject/tmpl/signals.sgml: Small addition. (#145158, + Mariano Suárez-Alvarez) + 2004-12-20 Matthias Clasen * gobject/tmpl/signals.sgml: Fix a typo. (#161713, diff --git a/docs/reference/gobject/tmpl/signals.sgml b/docs/reference/gobject/tmpl/signals.sgml index 6b689a6..167d2bb 100644 --- a/docs/reference/gobject/tmpl/signals.sgml +++ b/docs/reference/gobject/tmpl/signals.sgml @@ -536,14 +536,18 @@ connection. -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 ..._after() pr +..._swapped() variants of this function. @instance: the instance to connect to. @detailed_signal: a string of the form "signal-name::detail". @c_handler: the #GCallback to connect. @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. @Returns: the handler id @@ -555,7 +559,7 @@ Connects a closure to a signal for a particular object. @instance: the instance to connect to. @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 default handler of the signal. @Returns: the handler id -- 2.7.4