LarsGit223 commented on this pull request.
+ foreach_slist (elem, lst) + { + gchar **path_split; + + path_split = g_strsplit_set(elem->data, "/\", 0); + path_list = g_slist_prepend(path_list, path_split); + } + + if (path_list != NULL) + sidebar_create_branch(0, abs_base_dir, path_list, parent); + + g_slist_foreach(lst, (GFunc) g_free, NULL); + g_slist_free(lst); + g_slist_foreach(path_list, (GFunc) g_strfreev, NULL); + g_slist_free(path_list);
Nice, thanks.