diff options
Diffstat (limited to 'pygi-convert.sh')
-rw-r--r-- | pygi-convert.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygi-convert.sh b/pygi-convert.sh index 4cf54e41..5381ebb2 100644 --- a/pygi-convert.sh +++ b/pygi-convert.sh @@ -151,7 +151,7 @@ for f in $FILES_TO_CONVERT; do -pe "s/Gio.vfs_/Gio.Vfs./g;" \ \ -pe "# GLib is not introspectable very well, for now we keep using the static bindings" \ - -pe "s/glib.GError\n/gobject.GError/g;" \ + -pe "s/glib.GError\b/gobject.GError/g;" \ -pe "s/glib.timeout_add\b/gobject.timeout_add/g;" \ -pe "s/glib.MainLoop\b/gobject.MainLoop/g;" \ -pe "#s/import glib\n/from gi.repository import GLib\n/g;" \ |