[gthumb] read the custom metadata if not all the attributes are GIO attributes



commit 41378a23267741e26cda8ef036a81bb029dbfd78
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Wed Jul 14 21:08:36 2010 +0200

    read the custom metadata if not all the attributes are GIO attributes

 gthumb/gio-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gio-utils.c b/gthumb/gio-utils.c
index fd1655f..93ca9e0 100644
--- a/gthumb/gio-utils.c
+++ b/gthumb/gio-utils.c
@@ -582,7 +582,7 @@ g_directory_foreach_child (GFile                *directory,
 						      g_str_equal,
 						      g_free,
 						      NULL);
-	fec->metadata_attributes = ! _g_file_attributes_matches_any (fec->attributes, GIO_ATTRIBUTES);
+	fec->metadata_attributes = ! _g_file_attributes_matches_all (fec->attributes, GIO_ATTRIBUTES);
 
 	g_file_query_info_async (fec->base_directory,
 				 fec->attributes,



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