[libchamplain] Update ChamplainMapDataSource and ChamplainMemphisTileSource constructors to new gobject API
- From: Jiří Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain] Update ChamplainMapDataSource and ChamplainMemphisTileSource constructors to new gobject API
- Date: Fri, 14 May 2010 00:20:42 +0000 (UTC)
commit 38a49e39c532cfc36dcbb15d222626b866c9aaaf
Author: Victor Godoy Poluceno <victorpoluceno gmail com>
Date: Mon May 10 18:55:41 2010 -0300
Update ChamplainMapDataSource and ChamplainMemphisTileSource constructors to
new gobject API
.../champlain/pychamplainmemphis-constructors.defs | 14 ++++++++++++++
bindings/python/champlain/pychamplainmemphis.defs | 1 +
2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/bindings/python/champlain/pychamplainmemphis-constructors.defs b/bindings/python/champlain/pychamplainmemphis-constructors.defs
new file mode 100644
index 0000000..e001cbe
--- /dev/null
+++ b/bindings/python/champlain/pychamplainmemphis-constructors.defs
@@ -0,0 +1,14 @@
+;; -*- scheme -*-
+; constructor definitions ...
+
+(define-function map_data_source_new
+ (c-name "champlain_map_data_source_new")
+ (is-constructor-of "ChamplainMapDataSource")
+ (return-type "ChamplainMapDataSource*")
+)
+
+(define-function memphis_tile_source_new
+ (c-name "champlain_memphis_tile_source_new")
+ (is-constructor-of "ChamplainMemphisTileSource")
+ (return-type "ChamplainMemphisTileSource*")
+)
diff --git a/bindings/python/champlain/pychamplainmemphis.defs b/bindings/python/champlain/pychamplainmemphis.defs
index a5dc56f..9819a82 100644
--- a/bindings/python/champlain/pychamplainmemphis.defs
+++ b/bindings/python/champlain/pychamplainmemphis.defs
@@ -2,3 +2,4 @@
(include "pychamplainmemphis-base.defs")
(include "pychamplainmemphis-boxed-types.defs")
+(include "pychamplainmemphis-constructors.defs")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]