Skip to content
Browse files

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

  • Loading branch information...
1 parent d26e5cc commit 2292673c96e7973a0732ca15bbd5b0bf7a9c7dcf @nzjrs committed with John (J5) Palmieri
Showing with 0 additions and 28 deletions.
  1. +0 −28 pygi-convert.sh
View
28 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

0 comments on commit 2292673

Please sign in to comment.
Something went wrong with that request. Please try again.