From: Colin Clark Date: Thu, 1 Oct 2020 11:47:04 +0000 (+0100) Subject: Fix #814: Geeqie slow at startup, even when looking at just a single image X-Git-Tag: v1.6~15 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=f8dcb10b89825eced654065c42ca61eaf6632220 Fix #814: Geeqie slow at startup, even when looking at just a single image https://github.com/BestImageViewer/geeqie/issues/814 Wrong filedata function call. --- diff --git a/src/main.c b/src/main.c index 5c3b80c6..7f0c4f28 100644 --- a/src/main.c +++ b/src/main.c @@ -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)); } }