Fix warnings

This commit is contained in:
Berke Viktor
2013-05-14 16:52:16 +02:00
parent a435e8648f
commit 947dd45294
4 changed files with 6 additions and 6 deletions

View File

@@ -1886,7 +1886,7 @@ int main (int argc, char *argv[])
list = get_subdirs ("foo");
display_list (list);
#if GLIB_CHECK_VERSION(2,28,0)
g_slist_free_full (list, (GFunc) g_free);
g_slist_free_full (list, (GDestroyNotify) g_free);
#else
g_slist_foreach (list, (GFunc) g_free, NULL);
g_slist_free (list);