[PATCH 4/4] pygi-convert.sh remove gobject tests, GObject works now
- From: John Stowers <john stowers lists gmail com>
- To: python-hackers-list gnome org
- Subject: [PATCH 4/4] pygi-convert.sh remove gobject tests, GObject works now
- Date: Mon, 7 Mar 2011 00:19:40 +1300
From: John Stowers <john stowers gmail com>
---
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
--
1.7.1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]