Re: Update patch for Garnome-2.9.1




Dear Paul,

Here is an update to the exif patch for nautilus-2.9.1. This version still has an issue while compiling with gcc-3.4.x and exif.

Cheers,

Stef

Bob Kashani wrote:

On Tue, 2004-11-30 at 15:51 +1100, Paul Drain wrote:
If you wanted to, you could prepare just the bootstrap/ portion of the
patch and have it as a third-party patch -- that'd be handy for users
who have become stuck in the build process because their distribution
lacks something that bootstrap/ has.

Bob, could you host such a patch on GARNOME-Extras? If I put the
relevant pointer in the documentation?

If Stef wants to maintain such a patch I'd be glad to host it. :)

Bob


--- nautilus-2.9.1/src/nautilus-image-properties-page.c	2004-03-09 12:27:53.000000000 +0100
+++ nautilus/src/nautilus-image-properties-page.c	2004-06-30 14:41:20.000000000 +0200
@@ -144,13 +144,14 @@
 exif_content_callback (ExifContent *content, gpointer data)
 {
 	struct ExifAttribute *attribute;
+	char val[4096];
 
 	attribute = (struct ExifAttribute *)data;
 	if (attribute->found) {
 		return;
 	}
 
-        attribute->value = g_strdup (exif_content_get_value (content, attribute->tag));
+        attribute->value = g_strdup (exif_content_get_value (content, attribute->tag, val, 4096));
 	if (attribute->value != NULL) {
 		attribute->found = TRUE;
 	}


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