Use g_list_first() to find the first element in the list.