summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Sweers <infirit@gmail.com>2018-07-02 18:40:59 +0000
committerSander Sweers <infirit@gmail.com>2018-07-02 18:40:59 +0000
commit855e4199390bfa8ea2a07f2d6ecdbe75faa3a5ac (patch)
treec10731a1cc20ec9668c686b284c41133e499fa74
parenta39dfb68238f2d6350cd79e35ba1c7aae88ccf9b (diff)
downloadpygobject-855e4199390bfa8ea2a07f2d6ecdbe75faa3a5ac.tar.gz
pygi-convert: Enable glib conversion
-rwxr-xr-xtools/pygi-convert.sh14
1 files 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;" \