mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
garray: Fix typo in doc comment of g_ptr_array_sort[_with_data]()
Although g_ptr_array_sort_with_data() could achieve the goal, the wrapper functions should be expected there because that's the reason why they are added.
This commit is contained in:
parent
4aa63defdf
commit
57b0e72c7b
@ -2467,7 +2467,7 @@ g_ptr_array_insert (GPtrArray *array,
|
||||
* take the pointers from the array as arguments, it takes 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() if you want to use normal
|
||||
* #GCompareFuncs, otherwise here is a full example of use:
|
||||
*
|
||||
* |[<!-- language="C" -->
|
||||
@ -2527,7 +2527,7 @@ g_ptr_array_sort (GPtrArray *array,
|
||||
* doesn't take the pointers from the array as arguments, it takes
|
||||
* 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:
|
||||
*
|
||||
* |[<!-- language="C" -->
|
||||
|
Loading…
Reference in New Issue
Block a user