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



commit 072d45cbfa7b360a0e616c4c56ba75d4dc08e7df
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 5b54618..3eaa249 100644
--- a/pygi-convert.sh
+++ b/pygi-convert.sh
@@ -230,32 +230,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]