Something I’ve never fully understood about g_slist_append(). According to the description,
Adds a new element on to the end of the list.
The return value is the new start of the list, which may have changed, so make sure you store the new value.
If g_slist_append() adds a new element to the end of the list, why would there be a new start of the list?
Yes, that is much clearer and arguably more accurate. I’d like to make that update.
(I once tried to do a local update to the GTK documentation set with assistance from Emmanuele Bassi, but wasn’t able to get a clean build. If you know of someone who could give me step-by-step guidance, I can contribute updates as necessary.)