[eog/gnome-2-32: 14/34] Constify transform lookup table
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [eog/gnome-2-32: 14/34] Constify transform lookup table
- Date: Wed,  4 Aug 2010 22:12:54 +0000 (UTC)
commit 0c943a3feaeafec7af1366a2fb2fb1d5112ed216
Author: Felix Riemann <friemann gnome org>
Date:   Thu May 13 15:08:46 2010 +0200
    Constify transform lookup table
 src/eog-image.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/eog-image.c b/src/eog-image.c
index 8203b65..57ea118 100644
--- a/src/eog-image.c
+++ b/src/eog-image.c
@@ -756,7 +756,7 @@ eog_image_set_orientation (EogImage *img)
 static void
 eog_image_real_autorotate (EogImage *img)
 {
-	static EogTransformType lookup[8] = {EOG_TRANSFORM_NONE,
+	static const EogTransformType lookup[8] = {EOG_TRANSFORM_NONE,
 					     EOG_TRANSFORM_FLIP_HORIZONTAL,
 					     EOG_TRANSFORM_ROT_180,
 					     EOG_TRANSFORM_FLIP_VERTICAL,
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]