/* Returns: the found #GSList element, or NULL if it is not found  */
GSList* g_slist_find(GSList *list, gconstpointer data)
/* Returns: the found #GSList element, or NULL if it is not found  */
GSList* g_slist_find(GSList *list, gconstpointer data)
{
  while (list)
    {
      if (list->data == data)
        break;
      list = list->next;
    }
  return list;
}