gslist: Document that g_slist_sort() is stable

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=508976
This commit is contained in:
Philip Withnall 2017-11-16 10:27:37 +00:00
parent 9297a596d6
commit 74cbd6c34f

View File

@ -1034,7 +1034,8 @@ g_slist_sort_real (GSList *list,
* first element comes before the second, or a positive value if * first element comes before the second, or a positive value if
* the first element comes after the second. * the first element comes after the second.
* *
* Sorts a #GSList using the given comparison function. * Sorts a #GSList using the given comparison function. The algorithm
* used is a stable sort.
* *
* Returns: the start of the sorted #GSList * Returns: the start of the sorted #GSList
*/ */