[pygobject] pygi-convert: Enable glib conversion



commit 855e4199390bfa8ea2a07f2d6ecdbe75faa3a5ac
Author: Sander Sweers <infirit gmail com>
Date:   Mon Jul 2 18:40:59 2018 +0000

    pygi-convert: Enable glib conversion

 tools/pygi-convert.sh | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/tools/pygi-convert.sh b/tools/pygi-convert.sh
index f09197ce..5ebab88a 100755
--- a/tools/pygi-convert.sh
+++ b/tools/pygi-convert.sh
@@ -209,13 +209,13 @@ for f in $FILES_TO_CONVERT; do
     -pe "s/Gio.OUTPUT_STREAM_SPLICE_/Gio.OutputStreamSpliceFlags./g;" \
     -pe "s/Gio.vfs_/Gio.Vfs./g;" \
 \
-    -pe "#s/import glib\n/from gi.repository import GLib\n/g;" \
-    -pe "#s/(?<!\.)glib\./GLib\./g;" \
-    -pe "#s/GLib.IO_(ERR|HUP|IN|NVAL|OUT|PRI)/GLib.IOCondition./g;" \
-    -pe "#s/GLib.IO_FLAG_/GLib.IOFlags./g;" \
-    -pe "#s/GLib.OPTION_FLAG_/GLib.OptionFlags./g;" \
-    -pe "#s/GLib.SPAWN_/GLib.SpawnFlags./g;" \
-    -pe "#s/GLib.USER_DIRECTORY_/GLib.UserDirectory.DIRECTORY_/g;" \
+    -pe "s/import glib\n/from gi.repository import GLib\n/g;" \
+    -pe "s/(?<!\.)glib\./GLib\./g;" \
+    -pe "s/GLib.IO_(ERR|HUP|IN|NVAL|OUT|PRI)/GLib.IOCondition./g;" \
+    -pe "s/GLib.IO_FLAG_/GLib.IOFlags./g;" \
+    -pe "s/GLib.OPTION_FLAG_/GLib.OptionFlags./g;" \
+    -pe "s/GLib.SPAWN_/GLib.SpawnFlags./g;" \
+    -pe "s/GLib.USER_DIRECTORY_/GLib.UserDirectory.DIRECTORY_/g;" \
 \
     -pe "s/(?<!\.)gobject\./GObject\./g;" \
     -pe "s/GObject.SIGNAL_/GObject.SignalFlags./g;" \


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