[libchamplain/libchamplain-0-4] Update python binding api to libchamplain 0.4.1
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libchamplain/libchamplain-0-4] Update python binding api to libchamplain 0.4.1
- Date: Mon, 19 Oct 2009 05:14:10 +0000 (UTC)
commit 49513f9bd65e3f885193db674aa21ad1302da494
Author: Victor Godoy Poluceno <victorpoluceno gmail com>
Date: Sun Oct 18 15:38:45 2009 -0200
Update python binding api to libchamplain 0.4.1
bindings/python/champlain/pychamplain-base.defs | 38 ++++++----------------
1 files changed, 11 insertions(+), 27 deletions(-)
---
diff --git a/bindings/python/champlain/pychamplain-base.defs b/bindings/python/champlain/pychamplain-base.defs
index d0557a5..b6d38c6 100644
--- a/bindings/python/champlain/pychamplain-base.defs
+++ b/bindings/python/champlain/pychamplain-base.defs
@@ -107,7 +107,7 @@
(c-name "ChamplainMapProjection")
(gtype-id "CHAMPLAIN_TYPE_MAP_PROJECTION")
(values
- '("r" "CHAMPLAIN_MAP_PROJECTION_MERCATOR")
+ '("mercator" "CHAMPLAIN_MAP_PROJECTION_MERCATOR")
)
)
@@ -128,11 +128,6 @@
(return-type "ChamplainCache*")
)
-(define-function cache_get_default
- (c-name "champlain_cache_get_default")
- (return-type "ChamplainCache*")
-)
-
(define-method update_tile
(of-object "ChamplainCache")
(c-name "champlain_cache_update_tile")
@@ -364,6 +359,15 @@
)
)
+(define-method remove_layer
+ (of-object "ChamplainView")
+ (c-name "champlain_view_remove_layer")
+ (return-type "none")
+ (parameters
+ '("ChamplainLayer*" "layer")
+ )
+)
+
(define-method get_coords_from_event
(of-object "ChamplainView")
(c-name "champlain_view_get_coords_from_event")
@@ -917,23 +921,12 @@
(return-type "ChamplainMapSourceFactory*")
)
-(define-function map_source_factory_get_default
- (c-name "champlain_map_source_factory_get_default")
- (return-type "ChamplainMapSourceFactory*")
-)
-
(define-method dup_list
(of-object "ChamplainMapSourceFactory")
(c-name "champlain_map_source_factory_dup_list")
(return-type "GSList*")
)
-(define-method get_list
- (of-object "ChamplainMapSourceFactory")
- (c-name "champlain_map_source_factory_get_list")
- (return-type "GSList*")
-)
-
(define-method create
(of-object "ChamplainMapSourceFactory")
(c-name "champlain_map_source_factory_create")
@@ -950,7 +943,7 @@
(parameters
'("ChamplainMapSourceDesc*" "desc")
'("ChamplainMapSourceConstructor" "constructor")
- '("gpointer" "user_data")
+ '("gpointer" "data")
)
)
@@ -999,15 +992,6 @@
)
)
-(define-function network_map_source_fill_tile
- (c-name "champlain_network_map_source_fill_tile")
- (return-type "none")
- (parameters
- '("ChamplainMapSource*" "map_source")
- '("ChamplainTile*" "tile")
- )
-)
-
;; From champlain-marker.h
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]