[libchamplain/libchamplain-0-4] python binding: removes GInitiallyUnowned bad hack and cleans update-binding.sh script



commit 18dfa68d0263d53ec75da583f20cbe89207def9e
Author: Victor Godoy Poluceno <victorpoluceno gmail com>
Date:   Sun Nov 22 18:24:21 2009 -0200

    python binding: removes GInitiallyUnowned bad hack
    and cleans update-binding.sh script

 bindings/python/champlain/pychamplain.override |    1 +
 bindings/python/update-binding.sh              |   13 ++-----------
 2 files changed, 3 insertions(+), 11 deletions(-)
---
diff --git a/bindings/python/champlain/pychamplain.override b/bindings/python/champlain/pychamplain.override
index 82d39ef..220eae9 100644
--- a/bindings/python/champlain/pychamplain.override
+++ b/bindings/python/champlain/pychamplain.override
@@ -10,6 +10,7 @@ headers
 modulename champlain
 %%
 import gobject.GObject as PyGObject_Type
+import gobject.GObject as PyGInitiallyUnowned_Type
 import clutter.Actor as PyClutterActor_Type
 import clutter.Group as PyClutterGroup_Type
 import clutter.Color as PyClutterColor_Type
diff --git a/bindings/python/update-binding.sh b/bindings/python/update-binding.sh
index b837e77..201c3d8 100755
--- a/bindings/python/update-binding.sh
+++ b/bindings/python/update-binding.sh
@@ -20,7 +20,7 @@ python /usr/share/pygobject/2.0/codegen/h2def.py	\
 	champlain-base-marker.h			\
 	champlain-tile.h			\
 	champlain-zoom-level.h			\
-| sed "s/GInitiallyUnowned/GObject/g" > ../bindings/python/champlain/pychamplain-base.defs
+ > ../bindings/python/champlain/pychamplain-base.defs
 
 
 # Update the list of headers from Makefile.am
@@ -33,14 +33,5 @@ python /usr/share/pygobject/2.0/codegen/h2def.py	\
 
 # Keep original version
 cd ../bindings/python
-cp champlain/pychamplain.defs /tmp
+cp champlain/pychamplain-base.defs /tmp
 cp champlain-gtk/pychamplaingtk.defs /tmp
-
-# Apply patches
-#patch -p0 < pychamplain.patch
-#patch -p0 < pychamplaingtk.patch
-
-# Make modification then run that:
-#diff -up /tmp/pychamplain.defs champlain/pychamplain.defs > pychamplain.patch
-#diff -up /tmp/pychamplaingtk.defs champlain-gtk/pychamplaingtk.defs > pychamplaingtk.patch
-



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]