From: Mike Sheldon Date: Sun, 22 Mar 2009 22:06:52 +0000 (+0000) Subject: Wrap champlain_view_go_to for the python bindings X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d8cefa2debeb631ec0a0ab62cc70f9c83924d06;p=libchamplain Wrap champlain_view_go_to for the python bindings --- diff --git a/bindings/python/champlain/pychamplain.defs b/bindings/python/champlain/pychamplain.defs index 4b11232..9d5e6c3 100644 --- a/bindings/python/champlain/pychamplain.defs +++ b/bindings/python/champlain/pychamplain.defs @@ -110,6 +110,22 @@ ) ) +(define-method go_to + (of-object "ChamplainView") + (c-name "champlain_view_go_to") + (return-type "none") + (parameters + '("gdouble" "latitude") + '("gdouble" "longitude") + ) +) + +(define-method stop_go_to + (of-object "ChamplainView") + (c-name "champlain_view_stop_go_to") + (return-type "none") +) + (define-method zoom_in (of-object "ChamplainView") (c-name "champlain_view_zoom_in") @@ -673,13 +689,13 @@ (define-method get_width (of-object "ChamplainZoomLevel") (c-name "champlain_zoom_level_get_width") - (return-type "gint") + (return-type "guint") ) (define-method get_height (of-object "ChamplainZoomLevel") (c-name "champlain_zoom_level_get_height") - (return-type "gint") + (return-type "guint") ) (define-method get_zoom_level @@ -721,15 +737,6 @@ ) ) -(define-method set_actor - (of-object "ChamplainZoomLevel") - (c-name "champlain_zoom_level_set_actor") - (return-type "none") - (parameters - '("ClutterActor*" "actor") - ) -) - (define-method add_tile (of-object "ChamplainZoomLevel") (c-name "champlain_zoom_level_add_tile")