remove
Removes an element from a #GList. If two elements contain the same data, only the first is removed. If none of the elements contain the data, the #GList is unchanged.
Return
the (possibly changed) start of the #GList
Parameters
list
a #GList, this must point to the top of the list
data
the data of the element to remove