aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gimageview/files/patch-src-exit_view.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/gimageview/files/patch-src-exit_view.c b/graphics/gimageview/files/patch-src-exit_view.c
new file mode 100644
index 000000000000..4e822a1486b0
--- /dev/null
+++ b/graphics/gimageview/files/patch-src-exit_view.c
@@ -0,0 +1,19 @@
+--- src/exif_view.c.orig Tue Feb 1 13:20:55 2005
++++ src/exif_view.c Tue Feb 1 13:20:16 2005
+@@ -87,6 +87,7 @@
+ ExifContent *content)
+ {
+ const gchar *text[2];
++ gchar value[1024];
+ gint i;
+
+ g_return_if_fail (clist);
+@@ -104,7 +105,7 @@
+ for (i = 0; i < content->count; i++) {
+ text[0] = exif_tag_get_name (content->entries[i]->tag);
+ if (text[0] && *text[0]) text[0] = _(text[0]);
+- text[1] = exif_entry_get_value (content->entries[i]);
++ text[1] = exif_entry_get_value (content->entries[i], value, sizeof(value));
+ if (text[1] && *text[1]) text[1] = _(text[1]);
+ #ifdef ENABLE_TREEVIEW
+ {