[gthumb: 10/57] Ignore properties with a 0x in the name, they are just junk anyway.



commit 8e965da6734fa70d3359719d011b18a35898cbbf
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Tue Jun 1 09:38:18 2010 +0200

    Ignore properties with a 0x in the name, they are just junk anyway.

 gthumb/gth-file-properties.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-file-properties.c b/gthumb/gth-file-properties.c
index 250a083..32cc021 100644
--- a/gthumb/gth-file-properties.c
+++ b/gthumb/gth-file-properties.c
@@ -119,7 +119,7 @@ gth_file_properties_real_set_file (GthPropertyView *base,
 		if ((info->flags & GTH_METADATA_ALLOW_IN_PROPERTIES_VIEW) != GTH_METADATA_ALLOW_IN_PROPERTIES_VIEW)
 			continue;
 
-		if ((info->display_name == NULL) || (strncmp (info->display_name, "0x", 2) == 0))
+		if ((info->display_name == NULL) || (strstr (info->display_name, "0x") != NULL))
 			continue;
 
 		value = gth_file_data_get_attribute_as_string (file_data, info->id);



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