[PATCH] g_slist_foreach_remove() to remove some items in a GSList
Submitted by Alban Crequy
Link to original bug (#538584)
Description
The patch adds:
- a new function g_slist_foreach_remove(): loop on a GSList and call a callback on each items. If the callback returns TRUE, remove the item from the list.
- a basic unit test for g_slist_foreach_remove()
- add the function in glib/glib.symbols
Version: 2.17.x