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