Fix #814: Geeqie slow at startup, even when looking at just a single image
authorColin Clark <colin.clark@cclark.uk>
Thu, 1 Oct 2020 11:47:04 +0000 (12:47 +0100)
committerColin Clark <colin.clark@cclark.uk>
Thu, 1 Oct 2020 11:47:04 +0000 (12:47 +0100)
https://github.com/BestImageViewer/geeqie/issues/814

Wrong filedata function call.

src/main.c

index 5c3b80c..7f0c4f2 100644 (file)
@@ -138,7 +138,7 @@ static void parse_command_line_add_file(const gchar *file_path, gchar **path, gc
                {
                if (!*path) *path = remove_level_from_path(path_parsed);
                if (!*file) *file = g_strdup(path_parsed);
-               *list = g_list_prepend(*list, file_data_new_group(path_parsed));
+               *list = g_list_prepend(*list, file_data_new_no_grouping(path_parsed));
                }
 }