[Github-comments] [geany/geany] Rpg sidebar tree (see #259) (#1813)

Thomas Martitz notifications at xxxxx
Mon Jul 29 21:25:51 UTC 2019


kugel- commented on this pull request.



> +	GtkTreePath *path;
+	GtkTreeModel *model = GTK_TREE_MODEL(store_openfiles);
+
+	path = gtk_tree_model_get_path(model, parent_old);
+	gtk_tree_path_free(path);
+	tree_copy_item(&parent, parent_old, parent_new);
+	i = gtk_tree_model_iter_n_children(model, parent_old) - 1;
+	while (i >= 0 && gtk_tree_model_iter_nth_child(model, &child, parent_old, i))
+	{
+		tree_copy_recursive(&child, &parent);
+		i--;
+	}
+}
+
+
+static void tree_add_new_dir(GtkTreeIter *child, GtkTreeIter *parent, gchar *file)

will fix

-- 
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/pull/1813#discussion_r308444771
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190729/050afba4/attachment.html>


More information about the Github-comments mailing list