From 5350f1271ea9f7b2a18031876bbab6dc321ab2d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20No=C3=ABl?= Date: Wed, 20 Mar 2019 14:39:44 +0000 Subject: [PATCH] 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.