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.