Skip to content

Commit

Permalink
docs: Use the right g_autoptr function when using an auxiliary function
Browse files Browse the repository at this point in the history
  • Loading branch information
Corentin Noël authored and ebassi committed Mar 20, 2019
1 parent c8692ff commit 5350f12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion glib/garcbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion glib/grcbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5350f12

Please sign in to comment.