gtkcompletionline.c: (scandir) don't reverse GList

sorting happens in the GtkTreeView
This commit is contained in:
wdlkmpx 2020-10-14 09:09:19 +08:00
parent 4bc440cbb8
commit a46c04beca
1 changed files with 0 additions and 6 deletions

View File

@ -450,9 +450,6 @@ static GList * generate_execs_list (char * pfix)
}
path_gc_i++;
}
if (execs_gc && execs_gc->next) {
execs_gc = g_list_reverse (execs_gc);
}
if (prefix) {
g_free (prefix);
prefix = NULL;
@ -510,9 +507,6 @@ static GList * generate_dirlist (const char * path)
}
free(eps);
}
if (dirlist_gc && dirlist_gc->next) {
dirlist_gc = g_list_reverse (dirlist_gc);
}
if (prefix) {
g_free (prefix);