[libchamplainmm] View: Fix several methods signatures



commit 8c8b00e28e8dd8e6a395bf0bef3eda4094f476e1
Author: Juan R. GarcĂ­a Blanco <juanrgar gmail com>
Date:   Tue Feb 25 19:43:58 2014 +0100

    View: Fix several methods signatures
    
        * Replace int with guint in get/set_max_level(),
        get/set_max_zoom_level(), get/set_min_zoom_level()
        methods.

 libchamplain/src/view.hg |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libchamplain/src/view.hg b/libchamplain/src/view.hg
index db70f01..6cccc0b 100644
--- a/libchamplain/src/view.hg
+++ b/libchamplain/src/view.hg
@@ -63,13 +63,13 @@ public:
                champlain_view_get_scroll_mode)
   _WRAP_METHOD(bool get_keep_center_on_resize() const,
                champlain_view_get_keep_center_on_resize)
-  _WRAP_METHOD(int get_max_zoom_level() const,
+  _WRAP_METHOD(guint get_max_zoom_level() const,
                champlain_view_get_max_zoom_level)
-  _WRAP_METHOD(int get_min_zoom_level() const,
+  _WRAP_METHOD(guint get_min_zoom_level() const,
                champlain_view_get_min_zoom_level)
   _WRAP_METHOD(bool get_show_license(),
                champlain_view_get_show_license)
-  _WRAP_METHOD(int get_max_level() const,
+  _WRAP_METHOD(guint get_max_level() const,
                champlain_view_get_zoom_level)
   _WRAP_METHOD(bool get_zoom_on_double_click(),
                champlain_view_get_zoom_on_double_click)
@@ -80,11 +80,11 @@ public:
 
   _WRAP_METHOD(void zoom_in(), champlain_view_zoom_in)
   _WRAP_METHOD(void zoom_out(), champlain_view_zoom_out)
-  _WRAP_METHOD(void set_zoom_level(int zoom_level),
+  _WRAP_METHOD(void set_zoom_level(guint zoom_level),
                champlain_view_set_zoom_level)
-  _WRAP_METHOD(void set_max_zoom_level(int zoom_level),
+  _WRAP_METHOD(void set_max_zoom_level(guint zoom_level),
                champlain_view_set_max_zoom_level)
-  _WRAP_METHOD(void set_min_zoom_level(int zoom_level),
+  _WRAP_METHOD(void set_min_zoom_level(guint zoom_level),
                champlain_view_set_min_zoom_level)
 
   _WRAP_METHOD(void ensure_visible(double lat1, double lon1,


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