[gnome-commander] Check for gFileInfo member in gcmd_tags_exiv2_load_metadata function



commit 40c648601fa998df9a8bb480732ebf0eb9231147
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Sun Jun 27 22:34:49 2021 +0200

    Check for gFileInfo member in gcmd_tags_exiv2_load_metadata function

 src/tags/gnome-cmd-tags-exiv2.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/tags/gnome-cmd-tags-exiv2.cc b/src/tags/gnome-cmd-tags-exiv2.cc
index 24059fc7..a5cae4f9 100644
--- a/src/tags/gnome-cmd-tags-exiv2.cc
+++ b/src/tags/gnome-cmd-tags-exiv2.cc
@@ -374,7 +374,7 @@ void gcmd_tags_exiv2_init()
 void gcmd_tags_exiv2_load_metadata(GnomeCmdFile *f)
 {
     g_return_if_fail (f != NULL);
-    g_return_if_fail (f->info != NULL);
+    g_return_if_fail (f->gFileInfo != NULL);
 
     if (f->metadata && f->metadata->is_accessed(TAG_IMAGE))  return;
 


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