[gnome-commander] enumerate_children_callback: Sum up dir->list_counter
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] enumerate_children_callback: Sum up dir->list_counter
- Date: Tue, 1 Jun 2021 21:31:47 +0000 (UTC)
commit 54509126d3bcb1b65968e08d3696035916c2fffe
Author: Uwe Scholz <u scholz83 gmx de>
Date: Tue Jun 1 23:27:40 2021 +0200
enumerate_children_callback: Sum up dir->list_counter
src/dirlist.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/dirlist.cc b/src/dirlist.cc
index 9c6896f8e..880bea80a 100644
--- a/src/dirlist.cc
+++ b/src/dirlist.cc
@@ -170,7 +170,7 @@ static void enumerate_children_callback(GObject *direnum, GAsyncResult *result,
else
{
dir->gFileInfoList = g_list_concat (dir->gFileInfoList, g_list_copy (gFileInfosList));
-
+ dir->list_counter += FILES_PER_UPDATE;
g_file_enumerator_next_files_async(G_FILE_ENUMERATOR(direnum),
FILES_PER_UPDATE,
G_PRIORITY_LOW,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]