]> err.no Git - libchamplain/commitdiff
Update the Python bindings to include id
authorPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Wed, 6 May 2009 03:43:18 +0000 (23:43 -0400)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Wed, 6 May 2009 03:43:18 +0000 (23:43 -0400)
bindings/python/champlain/pychamplain.defs
configure.ac

index 50de7d896ac00063ac559c8b91fbd9fb3cfe8dfa..f17236c5d5af1f175f9cf308286c5a8d3bba59ed 100644 (file)
   )
 )
 
+(define-method set_id
+  (of-object "ChamplainMapSource")
+  (c-name "champlain_map_source_set_id")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "id")
+  )
+)
+
+(define-method get_id
+  (of-object "ChamplainMapSource")
+  (c-name "champlain_map_source_get_id")
+  (return-type "const-gchar*")
+)
+
 (define-method set_name
   (of-object "ChamplainMapSource")
   (c-name "champlain_map_source_set_name")
   (c-name "champlain_network_map_source_new_full")
   (return-type "ChamplainNetworkMapSource*")
   (parameters
+    '("const-gchar*" "id")
     '("const-gchar*" "name")
     '("const-gchar*" "license")
     '("const-gchar*" "license_uri")
index b36df2410956d18e20eefd1c78efa74a85e8f00e..0cee836b811d8aecf87c59c007b548bedd0596db 100644 (file)
@@ -175,6 +175,7 @@ if test x$enable_python = xyes; then
       glib-2.0,
       gobject-2.0,
       clutter-0.8,
+      pyclutter-0.8,
       gconf-2.0,
       gtk+-2.0
    ], have_python="yes", have_python="no")