[glib: 1/2] docs: Use the right g_autoptr function when using an auxiliary function
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] docs: Use the right g_autoptr function when using an auxiliary function
- Date: Wed, 20 Mar 2019 14:40:02 +0000 (UTC)
commit 5350f1271ea9f7b2a18031876bbab6dc321ab2d8
Author: Corentin Noël <corentin elementary io>
Date: Wed Mar 20 14:39:44 2019 +0000
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]