Skip to content

Commit

Permalink
Merge branch 'wip/tintou/autoptr-right-function' into 'master'
Browse files Browse the repository at this point in the history
docs: Use the right g_autoptr function when using an auxiliary function

See merge request GNOME/glib!735
  • Loading branch information
ebassi committed Mar 20, 2019
2 parents c8692ff + 5350f12 commit ff47bb0
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 ff47bb0

Please sign in to comment.