Gets the position of the given element in the #GSList (starting from 0).
an element in the #GSList
the position of the element in the #GSList, or -1 if the element is not found
See Implementation
Gets the position of the given element in the #GSList (starting from 0).