[gnome-commander] gnome_cmd_dir_get_gfile: just return the GFile and do not try to build a new child



commit cf6e68623c0ec6ec85c686222d1a64d01d63dd7c
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Wed Jan 5 16:00:17 2022 +0100

    gnome_cmd_dir_get_gfile: just return the GFile and do not try to build a new child

 src/gnome-cmd-dir.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-cmd-dir.cc b/src/gnome-cmd-dir.cc
index d5fc314d..f2f6035f 100644
--- a/src/gnome-cmd-dir.cc
+++ b/src/gnome-cmd-dir.cc
@@ -624,7 +624,7 @@ GFile *gnome_cmd_dir_get_gfile (GnomeCmdDir *dir)
 {
     g_return_val_if_fail (GNOME_CMD_IS_DIR (dir), nullptr);
 
-    return gnome_cmd_dir_get_child_gfile(dir, ".");
+    return GNOME_CMD_FILE(dir)->gFile;
 }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]