[libchamplainmm] Tile: Fix several methods signatures
- From: Juan R. Garcia Blanco <juanrgar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplainmm] Tile: Fix several methods signatures
- Date: Wed, 26 Feb 2014 19:04:54 +0000 (UTC)
commit fc695c5a2752aa651c382276aaefbb8f5ae2f779
Author: Juan R. GarcĂa Blanco <juanrgar gmail com>
Date: Tue Feb 25 19:40:03 2014 +0100
Tile: Fix several methods signatures
* Replace int with guint in methods related to
the ::x, ::y, ::zoom-level properties
libchamplain/src/tile.hg | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/libchamplain/src/tile.hg b/libchamplain/src/tile.hg
index 5d5f979..ce0ad9f 100644
--- a/libchamplain/src/tile.hg
+++ b/libchamplain/src/tile.hg
@@ -36,16 +36,16 @@ class Tile :
protected:
_CTOR_DEFAULT()
- _WRAP_CTOR(Tile(int x, int y, guint size, int zoom_level),
+ _WRAP_CTOR(Tile(guint x, guint y, guint size, guint zoom_level),
champlain_tile_new_full)
public:
_WRAP_CREATE()
_WRAP_CREATE(int x, int y, guint size, int zoom_level)
- _WRAP_METHOD(int get_x() const, champlain_tile_get_x)
- _WRAP_METHOD(int get_y() const, champlain_tile_get_y)
- _WRAP_METHOD(int get_zoom_level() const, champlain_tile_get_zoom_level)
+ _WRAP_METHOD(guint get_x() const, champlain_tile_get_x)
+ _WRAP_METHOD(guint get_y() const, champlain_tile_get_y)
+ _WRAP_METHOD(guint get_zoom_level() const, champlain_tile_get_zoom_level)
_WRAP_METHOD(guint get_size() const, champlain_tile_get_size)
_WRAP_METHOD(State get_state() const, champlain_tile_get_state)
_WRAP_METHOD(std::string get_uri() const, champlain_tile_get_uri)
@@ -65,9 +65,9 @@ public:
_WRAP_METHOD(Glib::ustring get_etag() const,
champlain_tile_get_etag)
- _WRAP_METHOD(void set_x(int x), champlain_tile_set_x)
- _WRAP_METHOD(void set_y(int y), champlain_tile_set_y)
- _WRAP_METHOD(void set_zoom_level(int zoom_level),
+ _WRAP_METHOD(void set_x(guint x), champlain_tile_set_x)
+ _WRAP_METHOD(void set_y(guint y), champlain_tile_set_y)
+ _WRAP_METHOD(void set_zoom_level(guint zoom_level),
champlain_tile_set_zoom_level)
_WRAP_METHOD(void set_size(guint size), champlain_tile_set_size)
_WRAP_METHOD(void set_state(State state), champlain_tile_set_state)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]