From 82b40bb9a49865e9b6c8096ee7c44017d69b769e Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Wed, 13 Oct 2004 05:41:57 +0000 Subject: Fix the build on 4.X. --- ...nents-image_properties-nautilus-image-properties-view.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'x11-fm') diff --git a/x11-fm/nautilus2/files/patch-components-image_properties-nautilus-image-properties-view.c b/x11-fm/nautilus2/files/patch-components-image_properties-nautilus-image-properties-view.c index 0f8441fabe63..2ef7220f41e2 100644 --- a/x11-fm/nautilus2/files/patch-components-image_properties-nautilus-image-properties-view.c +++ b/x11-fm/nautilus2/files/patch-components-image_properties-nautilus-image-properties-view.c @@ -1,11 +1,17 @@ ---- components/image_properties/nautilus-image-properties-view.c.orig Thu Sep 30 15:41:33 2004 -+++ components/image_properties/nautilus-image-properties-view.c Thu Sep 30 15:43:11 2004 -@@ -130,7 +130,8 @@ +--- components/image_properties/nautilus-image-properties-view.c.orig Tue Mar 9 06:23:37 2004 ++++ components/image_properties/nautilus-image-properties-view.c Wed Oct 13 01:38:33 2004 +@@ -124,13 +124,14 @@ + exif_content_callback (ExifContent *content, gpointer data) + { + struct ExifAttribute *attribute; ++ char value[1024]; + + attribute = (struct ExifAttribute *)data; + if (attribute->found) { return; } - attribute->value = g_strdup (exif_content_get_value (content, attribute->tag)); -+ char value[1024]; + attribute->value = g_strdup (exif_content_get_value (content, attribute->tag, value, sizeof(value))); if (attribute->value != NULL) { attribute->found = TRUE; -- cgit v1.2.3