Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Thu, 18 Dec 2014 10:29:54 UTC Commit: 8309a0e8880e2c040522dee81aec7815e8bb9366 https://github.com/geany/geany-plugins/commit/8309a0e8880e2c040522dee81aec78...
Log Message: ----------- gproject: Don't use g_slist_free_full()
To support older versions of glib
Modified Paths: -------------- gproject/src/gproject-project.c
Modified: gproject/src/gproject-project.c 6 lines changed, 5 insertions(+), 1 deletions(-) =================================================================== @@ -51,7 +51,11 @@ static GSList *s_idle_remove_funcs;
static void clear_idle_queue(GSList **queue) { - g_slist_free_full(*queue, g_free); + GSList *elem; + + foreach_slist(elem, *queue) + g_free(elem->data); + g_slist_free(*queue); *queue = NULL; }
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).