Added the missing g_slist_delete_link

Original commit message from CVS:
Added the missing g_slist_delete_link
This commit is contained in:
Wim Taymans 2001-09-21 18:30:58 +00:00
parent 4cbc68b7d6
commit f443469504
2 changed files with 14 additions and 0 deletions

View file

@ -324,3 +324,13 @@ gint* g_signal_list_ids (GType type, guint *n_ids)
return class->signals;
}
GSList*
g_slist_delete_link (GSList *list, GSList *link)
{
list = g_slist_remove_link (list, link);
g_slist_free_1 (link);
return list;
}

View file

@ -213,6 +213,10 @@ gtk_signal_handler_pending ((GtkObject *)object,name,may_block)
gint* g_signal_list_ids (GType type, guint *n_ids);
// lists
GSList* g_slist_delete_link (GSList *list, GSList *link);
// arguments/parameters
// first define GValue and GParamSpec