[libchamplainmm] View: add const to BoundingBox parameter



commit 954828033e0f112a1bad473b0f00787693178437
Author: Juan R. GarcĂ­a Blanco <juanrgar gmail com>
Date:   Sat Aug 2 10:43:18 2014 +0200

    View: add const to BoundingBox parameter

 champlain/src/view.hg |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/champlain/src/view.hg b/champlain/src/view.hg
index 7a09bde..409b677 100644
--- a/champlain/src/view.hg
+++ b/champlain/src/view.hg
@@ -84,7 +84,7 @@ public:
   _WRAP_METHOD(void set_min_zoom_level(guint zoom_level), champlain_view_set_min_zoom_level)
   _WRAP_METHOD(void set_max_zoom_level(guint zoom_level), champlain_view_set_max_zoom_level)
 
-  _WRAP_METHOD(void ensure_visible(BoundingBox& bbox, bool animate = true), champlain_view_ensure_visible)
+  _WRAP_METHOD(void ensure_visible(const BoundingBox& bbox, bool animate = true), 
champlain_view_ensure_visible)
   _WRAP_METHOD(void ensure_layers_visible(bool animate = true), champlain_view_ensure_layers_visible)
 
   _WRAP_METHOD(void set_map_source(const Glib::RefPtr<MapSource>& map_source), champlain_view_set_map_source)


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