[eog] Fix build error when building without libexif



commit 897e193040b8f15e9e0887fb19cab32896ca0111
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 713ccf5..2ffdfb9 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]