[pygobject] pygi-convert: Enable glib conversion
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] pygi-convert: Enable glib conversion
- Date: Tue, 3 Jul 2018 09:25:51 +0000 (UTC)
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]