mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gclosure: Clarify when destroy notifiers are called in documentation
They’re called in finalize, not invalidate. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://gitlab.gnome.org/GNOME/glib/issues/277
This commit is contained in:
parent
ed6903f6fb
commit
5b7c109e1c
@ -936,6 +936,8 @@ _g_closure_set_va_marshal (GClosure *closure,
|
||||
* Creates a new closure which invokes @callback_func with @user_data as
|
||||
* the last parameter.
|
||||
*
|
||||
* @destroy_data will be called as a finalize notifier on the #GClosure.
|
||||
*
|
||||
* Returns: (transfer none): a floating reference to a new #GCClosure
|
||||
*/
|
||||
GClosure*
|
||||
@ -964,6 +966,8 @@ g_cclosure_new (GCallback callback_func,
|
||||
* Creates a new closure which invokes @callback_func with @user_data as
|
||||
* the first parameter.
|
||||
*
|
||||
* @destroy_data will be called as a finalize notifier on the #GClosure.
|
||||
*
|
||||
* Returns: (transfer none): a floating reference to a new #GCClosure
|
||||
*/
|
||||
GClosure*
|
||||
|
Loading…
Reference in New Issue
Block a user