[pygobject] pygi-convert.sh remove gobject tests, GObject works now



commit 2292673c96e7973a0732ca15bbd5b0bf7a9c7dcf
Author: John Stowers <john stowers gmail com>
Date:   Sun Mar 6 23:41:30 2011 +1300

    pygi-convert.sh remove gobject tests, GObject works now
    
    https://bugzilla.gnome.org/show_bug.cgi?id=644347

 pygi-convert.sh |   28 ----------------------------
 1 files changed, 0 insertions(+), 28 deletions(-)
---
diff --git a/pygi-convert.sh b/pygi-convert.sh
index 67b3d25..930cee0 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



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