[libchamplainmm] MapSource: Fix signatures for some methods



commit 243414b8f9abc843e918e2752cda2afe3e5f8a78
Author: Juan R. GarcĂ­a Blanco <juanrgar gmail com>
Date:   Mon Feb 24 22:45:06 2014 +0100

    MapSource: Fix signatures for some methods

 libchamplain/src/map-source.hg |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/libchamplain/src/map-source.hg b/libchamplain/src/map-source.hg
index 622d814..7a01778 100644
--- a/libchamplain/src/map-source.hg
+++ b/libchamplain/src/map-source.hg
@@ -47,29 +47,29 @@ protected:
 public:
   _WRAP_METHOD(void fill_tile(const Glib::RefPtr<Tile> & tile),
                champlain_map_source_fill_tile)
-  _WRAP_METHOD(guint get_column_count(int zoom_level),
+  _WRAP_METHOD(guint get_column_count(guint zoom_level),
                champlain_map_source_get_column_count)
   _WRAP_METHOD(std::string get_id(), champlain_map_source_get_id)
-  _WRAP_METHOD(double get_latitude(int zoom_level, guint y),
+  _WRAP_METHOD(double get_latitude(guint zoom_level, double y),
                champlain_map_source_get_latitude)
   _WRAP_METHOD(Glib::ustring get_license(), champlain_map_source_get_license)
   _WRAP_METHOD(Glib::ustring get_license_uri(),
                champlain_map_source_get_license_uri)
-  _WRAP_METHOD(double get_longitude(int zoom_level, guint x),
+  _WRAP_METHOD(double get_longitude(guint zoom_level, double x),
                champlain_map_source_get_longitude)
-  _WRAP_METHOD(int get_max_zoom_level(),
+  _WRAP_METHOD(guint get_max_zoom_level(),
                champlain_map_source_get_max_zoom_level)
-  _WRAP_METHOD(int get_min_zoom_level(),
+  _WRAP_METHOD(guint get_min_zoom_level(),
                champlain_map_source_get_min_zoom_level)
-  _WRAP_METHOD(guint get_row_count(int zoom_level),
+  _WRAP_METHOD(guint get_row_count(guint zoom_level),
                champlain_map_source_get_row_count)
   _WRAP_METHOD(Glib::ustring get_name(), champlain_map_source_get_name)
   _WRAP_METHOD(MapProjection get_projection(),
                champlain_map_source_get_projection)
   _WRAP_METHOD(guint get_tile_size(), champlain_map_source_get_tile_size)
-  _WRAP_METHOD(guint get_x(int zoom_level, double longitude),
+  _WRAP_METHOD(double get_x(guint zoom_level, double longitude),
                champlain_map_source_get_x)
-  _WRAP_METHOD(guint get_y(int zoom_level, double latitude),
+  _WRAP_METHOD(double get_y(guint zoom_level, double latitude),
                champlain_map_source_get_y)
 
   _WRAP_PROPERTY("id", std::string)


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