From: Emmanuel Rodriguez Date: Sun, 22 Mar 2009 21:12:28 +0000 (+0200) Subject: Get and set width/height don't have matching types X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b360c41f2d6169cf9af2cf0d071f3e38238f0c4;p=libchamplain Get and set width/height don't have matching types --- diff --git a/champlain/champlain-zoom-level.c b/champlain/champlain-zoom-level.c index 67cbb62..c376893 100644 --- a/champlain/champlain-zoom-level.c +++ b/champlain/champlain-zoom-level.c @@ -245,7 +245,7 @@ champlain_zoom_level_get_nth_tile (ChamplainZoomLevel *self, return g_ptr_array_index (priv->tiles, index); } -gint +guint champlain_zoom_level_get_width (ChamplainZoomLevel *self) { @@ -256,7 +256,7 @@ champlain_zoom_level_get_width (ChamplainZoomLevel *self) return priv->width; } -gint +guint champlain_zoom_level_get_height (ChamplainZoomLevel *self) { g_return_val_if_fail (CHAMPLAIN_ZOOM_LEVEL (self), 0); diff --git a/champlain/champlain-zoom-level.h b/champlain/champlain-zoom-level.h index 6027bbe..d1e9b99 100644 --- a/champlain/champlain-zoom-level.h +++ b/champlain/champlain-zoom-level.h @@ -55,8 +55,8 @@ GType champlain_zoom_level_get_type (void); ChamplainZoomLevel* champlain_zoom_level_new (void); -gint champlain_zoom_level_get_width (ChamplainZoomLevel *self); -gint champlain_zoom_level_get_height (ChamplainZoomLevel *self); +guint champlain_zoom_level_get_width (ChamplainZoomLevel *self); +guint champlain_zoom_level_get_height (ChamplainZoomLevel *self); gint champlain_zoom_level_get_zoom_level (ChamplainZoomLevel *self); ClutterActor* champlain_zoom_level_get_actor (ChamplainZoomLevel *self);