1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-06-04 03:40:06 +02:00

Merge branch 'ptr-array-sort' into 'main'

garray: Fix typo in doc comment of g_ptr_array_sort[_with_data]()

See merge request 
This commit is contained in:
Philip Withnall 2023-07-12 12:32:43 +00:00
commit f4df750075

@ -2467,7 +2467,7 @@ g_ptr_array_insert (GPtrArray *array,
* take the pointers from the array as arguments, it takes pointers to * take the pointers from the array as arguments, it takes pointers to
* the pointers in the array. * the pointers in the array.
* *
* Use g_ptr_array_sort_with_data() if you want to use normal * Use g_ptr_array_sort_values() if you want to use normal
* #GCompareFuncs, otherwise here is a full example of use: * #GCompareFuncs, otherwise here is a full example of use:
* *
* |[<!-- language="C" --> * |[<!-- language="C" -->
@ -2527,7 +2527,7 @@ g_ptr_array_sort (GPtrArray *array,
* doesn't take the pointers from the array as arguments, it takes * doesn't take the pointers from the array as arguments, it takes
* pointers to the pointers in the array. * pointers to the pointers in the array.
* *
* Use g_ptr_array_sort_with_data() if you want to use normal * Use g_ptr_array_sort_values_with_data() if you want to use normal
* #GCompareDataFuncs, otherwise here is a full example of use: * #GCompareDataFuncs, otherwise here is a full example of use:
* *
* |[<!-- language="C" --> * |[<!-- language="C" -->