removeAll

fun removeAll(list: List, data: <Error class: unknown class>? = null): List

Removes all list nodes with data equal to @data. Returns the new head of the list. Contrast with g_list_remove() which removes only the first node matching the given data.

Return

the (possibly changed) start of the #GList

Parameters

list

a #GList, this must point to the top of the list

data

data to remove