[frogr] Remove extra (and wrong) const modifiers



commit 26cd8a6c1c9febf7c1f39b9bf4bb67ee96d05905
Author: Mario Sanchez Prada <msanchez igalia com>
Date:   Mon Apr 9 12:35:23 2012 +0200

    Remove extra (and wrong) const modifiers

 src/frogr-location.c |    4 ++--
 src/frogr-location.h |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/frogr-location.c b/src/frogr-location.c
index 189a20f..076c3b2 100644
--- a/src/frogr-location.c
+++ b/src/frogr-location.c
@@ -146,7 +146,7 @@ frogr_location_new (gdouble latitude, gdouble longitude)
 
 /* Data Managing functions */
 
-const gdouble
+gdouble
 frogr_location_get_latitude (FrogrLocation *self)
 {
   FrogrLocationPrivate *priv = NULL;
@@ -169,7 +169,7 @@ frogr_location_set_latitude (FrogrLocation *self,
   priv->latitude = latitude;
 }
 
-const gdouble
+gdouble
 frogr_location_get_longitude (FrogrLocation *self)
 {
   FrogrLocationPrivate *priv = NULL;
diff --git a/src/frogr-location.h b/src/frogr-location.h
index e3b68fc..34654f1 100644
--- a/src/frogr-location.h
+++ b/src/frogr-location.h
@@ -59,11 +59,11 @@ FrogrLocation *frogr_location_new (gdouble latitude, gdouble longitude);
 
 /* Data Managing functions */
 
-const gdouble frogr_location_get_latitude (FrogrLocation *self);
+gdouble frogr_location_get_latitude (FrogrLocation *self);
 void frogr_location_set_latitude (FrogrLocation *self,
                                   gdouble latitude);
 
-const gdouble frogr_location_get_longitude (FrogrLocation *self);
+gdouble frogr_location_get_longitude (FrogrLocation *self);
 void frogr_location_set_longitude (FrogrLocation *self,
                                    gdouble longitude);
 



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