Gets the last element in a #GSList.
This function iterates over the whole list.
the last element in the #GSList, or null if the #GSList has no elements
a #GSList