diff src/bar_exif.c @ 550:00462776e9a2

Fix a Pango warning related to UTF8 when displaying internationalized description in Advanced Exif Properties panel.
author zas_
date Fri, 02 May 2008 22:59:04 +0000
parents 3809ffa3567b
children db08ccd54169
line wrap: on
line diff
--- a/src/bar_exif.c	Fri May 02 22:31:24 2008 +0000
+++ b/src/bar_exif.c	Fri May 02 22:59:04 2008 +0000
@@ -283,6 +283,7 @@
 			elements = g_strdup_printf("%d", exif_item_get_elements(item));
 			description = exif_item_get_description(item);
 			if (!description) description = g_strdup("");
+			description = bar_exif_validate_text(description);
 			gtk_list_store_append(store, &iter);
 			gtk_list_store_set(store, &iter,
 					EXIF_ADVCOL_ENABLED, bar_exif_row_enabled(tag_name),