mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
gsignal: Document that floating GClosures are sunk
It’s not clear about that otherwise. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
c09216f810
commit
3df45aba20
@ -2400,6 +2400,9 @@ g_signal_get_invocation_hint (gpointer instance)
|
||||
*
|
||||
* Connects a closure to a signal for a particular object.
|
||||
*
|
||||
* If @closure is a floating reference (see g_closure_sink()), this function
|
||||
* takes ownership of @closure.
|
||||
*
|
||||
* Returns: the handler ID (always greater than 0 for successful connections)
|
||||
*/
|
||||
gulong
|
||||
@ -2462,6 +2465,9 @@ g_signal_connect_closure_by_id (gpointer instance,
|
||||
*
|
||||
* Connects a closure to a signal for a particular object.
|
||||
*
|
||||
* If @closure is a floating reference (see g_closure_sink()), this function
|
||||
* takes ownership of @closure.
|
||||
*
|
||||
* Returns: the handler ID (always greater than 0 for successful connections)
|
||||
*/
|
||||
gulong
|
||||
|
Loading…
Reference in New Issue
Block a user