[eog/gnome-2-26] Fix build error when building without libexif



commit 83039d2b64a4fe6db55918ecdfb5328dff03e4de
Author: Felix Riemann <friemann svn gnome org>
Date:   Thu Apr 30 16:14:59 2009 +0200

    Fix build error when building without libexif
---
 ChangeLog       |    5 +++++
 src/eog-image.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9681c9b..a83c525 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-04-30  Felix Riemann  <friemann svn gnome org>
+
+	* src/eog-image.c (eog_image_set_exif_data):
+	Fix build error when building without libexif.
+
 2009-04-28  Felix Riemann  <friemann svn gnome org>
 
 	* src/eog-util.c (eog_util_parse_uri_string_list_to_file_list):
diff --git a/src/eog-image.c b/src/eog-image.c
index 585588d..a02ca82 100644
--- a/src/eog-image.c
+++ b/src/eog-image.c
@@ -778,7 +778,7 @@ eog_image_set_exif_data (EogImage *img, EogMetadataReader *md_reader)
 	}
 #else
 	if (priv->exif_chunk) {
-		g_free (exif_chunk);
+		g_free (priv->exif_chunk);
 	}
 	eog_metadata_reader_get_exif_chunk (md_reader,
 					    &priv->exif_chunk,



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