[glib/wip/tintou/autoptr-right-function] docs: Use the right g_autoptr function when using an auxiliary function
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/tintou/autoptr-right-function] docs: Use the right g_autoptr function when using an auxiliary function
- Date: Wed, 20 Mar 2019 13:13:49 +0000 (UTC)
commit f1dbb61c0569345dc0c9d4dc4ec2f0f9c011bc8a
Author: Corentin Noël <corentin elementary io>
Date: Wed Mar 20 14:11:52 2019 +0100
docs: Use the right g_autoptr function when using an auxiliary function
glib/garcbox.c | 2 +-
glib/grcbox.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/garcbox.c b/glib/garcbox.c
index 128d62d5c..49b62ccb8 100644
--- a/glib/garcbox.c
+++ b/glib/garcbox.c
@@ -152,7 +152,7 @@
* g_atomic_rc_box_release_full (data, (GDestroyNotify) my_data_struct_clear);
* }
*
- * G_DEFINE_AUTOPTR_CLEANUP_FUNC (MyDataStruct, my_data_struct_clear)
+ * G_DEFINE_AUTOPTR_CLEANUP_FUNC (MyDataStruct, my_data_struct_release)
* ]|
*
* Since: 2.58.
diff --git a/glib/grcbox.c b/glib/grcbox.c
index 7a9a6f6d2..22a373b15 100644
--- a/glib/grcbox.c
+++ b/glib/grcbox.c
@@ -156,7 +156,7 @@
* g_rc_box_release_full (data, (GDestroyNotify) my_data_struct_clear);
* }
*
- * G_DEFINE_AUTOPTR_CLEANUP_FUNC (MyDataStruct, my_data_struct_clear)
+ * G_DEFINE_AUTOPTR_CLEANUP_FUNC (MyDataStruct, my_data_struct_release)
* ]|
*
* Since: 2.58.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]