glist: Clarify how g_list_free_1() handles links

It doesn’t, which is fine, but could be unexpected if undocumented.

https://bugzilla.gnome.org/show_bug.cgi?id=741779
This commit is contained in:
Philip Withnall 2014-12-19 18:53:22 +00:00
parent 59748c3be0
commit c6312daba0

View File

@ -186,7 +186,10 @@ g_list_free (GList *list)
* g_list_free_1:
* @list: a #GList element
*
* Frees one #GList element.
* Frees one #GList element, but does not update links from the next and
* previous elements in the list, so you should not call this function on an
* element that is currently part of a list.
*
* It is usually used after g_list_remove_link().
*/
/**