[Github-comments] [geany/geany-plugins] Workbench (#598)

LarsGit223 notifications at xxxxx
Sat Aug 19 08:50:45 UTC 2017


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.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/598#discussion_r134086922
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170819/f81c654c/attachment.html>


More information about the Github-comments mailing list