mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-21 23:46:21 +00:00
Added backwards compatible g_list_free_full for glib < 2.28
This commit is contained in:
@@ -72,6 +72,13 @@ p_slist_free_full(GSList *items, GDestroyNotify free_func)
|
||||
g_slist_free (items);
|
||||
}
|
||||
|
||||
void
|
||||
p_list_free_full(GList *items, GDestroyNotify free_func)
|
||||
{
|
||||
g_list_foreach (items, (GFunc) free_func, NULL);
|
||||
g_list_free (items);
|
||||
}
|
||||
|
||||
gboolean
|
||||
create_dir(char *name)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user