gtkcompletionline.c: (scandir) don't reverse GList
sorting happens in the GtkTreeView
This commit is contained in:
parent
4bc440cbb8
commit
a46c04beca
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue