@b4n commented on this pull request.


> @@ -1344,7 +1348,16 @@ static void on_openfiles_document_action(GtkMenuItem 
> *menuitem, gpointer user_da
        gint action = GPOINTER_TO_INT(user_data);
 
        if (gtk_tree_selection_get_selected(selection, &model, &iter))
-               on_openfiles_document_action_apply(model, iter, action);
+       {
+               GList *doc_list = on_openfiles_document_action_collect(model, 
&iter, NULL);

maybe using a GPtrArray would make more sense, as we don't need the flexibility 
of a list, and it would reduce the number of allocations -- and it's not likely 
the number of documents to work on would be huge I'd think.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3535#pullrequestreview-1554258464
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3535/review/[email protected]>

Reply via email to