[gnome-commander] Also update directories if changed, not only files
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Also update directories if changed, not only files
- Date: Wed, 23 Jun 2021 20:24:49 +0000 (UTC)
commit 60a04db366fe567460f1311fec2371bcfd68b366
Author: Uwe Scholz <u scholz83 gmx de>
Date: Wed Jun 23 22:22:09 2021 +0200
Also update directories if changed, not only files
From GIO standpoint it makes no difference to distinguish between files and folders as all are GFile
objects
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 8b33fb34..7fd63a14 100644
--- a/src/gnome-cmd-dir.cc
+++ b/src/gnome-cmd-dir.cc
@@ -858,7 +858,7 @@ void gnome_cmd_dir_file_changed (GnomeCmdDir *dir, const gchar *uri_str)
GnomeCmdFile *f = dir->priv->file_collection->find(uri_str);
- g_return_if_fail (GNOME_CMD_IS_FILE (f));
+ g_return_if_fail(f != nullptr);
dir->priv->needs_mtime_update = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]