summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-07-11 05:53:32 +0000
committerChristoph Reiter <reiter.christoph@gmail.com>2018-07-11 05:53:32 +0000
commit288bd2957916568666c3d5d27e8c868d67b7e8c9 (patch)
tree73b9b24186ab94aa5a0953ff0a4f55ec2d1250c5
parent76d8dd697b06505513b3b9e06e43756373b6da0b (diff)
parent65841279b1e655198e84b1219f11c3ec507ba93a (diff)
downloadpygobject-288bd2957916568666c3d5d27e8c868d67b7e8c9.tar.gz
Merge branch 'convert_glib' into 'master'
pygi-convert: Fix some issues See merge request GNOME/pygobject!78
-rwxr-xr-xtools/pygi-convert.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pygi-convert.sh b/tools/pygi-convert.sh
index 5ebab88a..8a2160a5 100755
--- a/tools/pygi-convert.sh
+++ b/tools/pygi-convert.sh
@@ -211,7 +211,7 @@ for f in $FILES_TO_CONVERT; do
\
-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_(ERR|HUP|IN|NVAL|OUT|PRI)/GLib.IOCondition.\1/g;" \
-pe "s/GLib.IO_FLAG_/GLib.IOFlags./g;" \
-pe "s/GLib.OPTION_FLAG_/GLib.OptionFlags./g;" \
-pe "s/GLib.SPAWN_/GLib.SpawnFlags./g;" \