summaryrefslogtreecommitdiff
path: root/pygi-convert.sh
diff options
context:
space:
mode:
authorJohn Stowers <john.stowers@gmail.com>2011-03-06 23:41:30 +1300
committerJohn (J5) Palmieri <johnp@redhat.com>2011-03-21 14:43:41 -0400
commit2292673c96e7973a0732ca15bbd5b0bf7a9c7dcf (patch)
tree8c7b66c9d77195e64df1f6acc414cd7bf4d7fe59 /pygi-convert.sh
parentd26e5cc45f277f6b7edb32aa416520bb53bff9c2 (diff)
downloadpygobject-2292673c96e7973a0732ca15bbd5b0bf7a9c7dcf.tar.gz
pygi-convert.sh remove gobject tests, GObject works now
https://bugzilla.gnome.org/show_bug.cgi?id=644347
Diffstat (limited to 'pygi-convert.sh')
-rw-r--r--pygi-convert.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/pygi-convert.sh b/pygi-convert.sh
index 67b3d255..930cee02 100644
--- a/pygi-convert.sh
+++ b/pygi-convert.sh
@@ -223,32 +223,4 @@ for f in $FILES_TO_CONVERT; do
$f
done
-NEED_GOBJECT=`grep -R -l gobject\. $FILES_TO_CONVERT | xargs grep -nL import\ gobject`
-for f in $NEED_GOBJECT; do
- sed -i "/import Gdk\($\|,\)/ i\import gobject" $f
-done
-
-NEED_GOBJECT=`grep -R -l gobject\. $FILES_TO_CONVERT | xargs grep -nL import\ gobject`
-for f in $NEED_GOBJECT; do
- sed -i "/import Gtk\($\|,\)/ i\import gobject" $f
-done
-
-NEED_GOBJECT=`grep -R -l gobject\. $FILES_TO_CONVERT | xargs grep -nL import\ gobject`
-for f in $NEED_GOBJECT; do
- sed -i "/import Hippo/ i\import gobject" $f
-done
-NEED_GDK=`grep -R -l Gdk\. $FILES_TO_CONVERT | xargs grep -nL import\ Gdk`
-for f in $NEED_GDK; do
- sed -i "/import Gtk\($\|,\)/ i\from gi.repository import Gdk" $f
-done
-
-NEED_GDK_X11=`grep -R -l GdkX11\. $FILES_TO_CONVERT | xargs grep -nL import\ GdkX11`
-for f in $NEED_GDK_X11; do
- sed -i "/import Gdk\($\|,\)/ i\from gi.repository import GdkX11" $f
-done
-
-NEED_SUGAR_EXT=`grep -R -l SugarExt\. $FILES_TO_CONVERT | xargs grep -nL import\ SugarExt`
-for f in $NEED_SUGAR_EXT; do
- sed -i "/import cairo/ i\from gi.repository import SugarExt" $f
-done