Fix #814: Geeqie slow at startup, even when looking at just a single image
authorColin Clark <[email protected]>
Thu, 1 Oct 2020 11:47:04 +0000 (12:47 +0100)
committerColin Clark <[email protected]>
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 5c3b80c6605d01e7fadfc05b6698a43aa271d08b..7f0c4f28ed84d8e4be6b56ac00f6038898351815 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));
                }
 }