[libchamplainmm] Location: Move vfuncs to protected section



commit 254e3fe55be3244b25a297227a312e7348e7eb95
Author: Juan R. GarcĂ­a Blanco <juanrgar gmail com>
Date:   Sun Mar 9 10:41:21 2014 +0100

    Location: Move vfuncs to protected section

 champlain/src/location.hg |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/champlain/src/location.hg b/champlain/src/location.hg
index 39c89e2..1fe0a23 100644
--- a/champlain/src/location.hg
+++ b/champlain/src/location.hg
@@ -40,16 +40,18 @@ class Location : public Glib::Interface
 {
   _CLASS_INTERFACE(Location, ChamplainLocation, CHAMPLAIN_LOCATION, ChamplainLocationIface)
 
-  _WRAP_METHOD(void set_location(double latitude, double longitude), champlain_location_set_location)
-
-  _WRAP_METHOD(double get_latitude() const, champlain_location_get_latitude)
-  _WRAP_METHOD(double get_longitude() const, champlain_location_get_longitude)
-
+protected:
   _WRAP_VFUNC(void set_location(double latitude, double longitude), set_location)
 
   _WRAP_VFUNC(double get_latitude() const, get_latitude)
   _WRAP_VFUNC(double get_longitude() const, get_longitude)
 
+public:
+  _WRAP_METHOD(void set_location(double latitude, double longitude), champlain_location_set_location)
+
+  _WRAP_METHOD(double get_latitude() const, champlain_location_get_latitude)
+  _WRAP_METHOD(double get_longitude() const, champlain_location_get_longitude)
+
   _WRAP_PROPERTY("longitude", double)
   _WRAP_PROPERTY("latitude", double)
 };


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