[pygobject] Fix typo in previous commit to actually convert glib.GError
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Fix typo in previous commit to actually convert glib.GError
- Date: Thu, 20 Jan 2011 10:42:41 +0000 (UTC)
commit 84ee8de4bc00a8f901926cc6386d73c12dbd0b0b
Author: Martin Pitt <martin pitt ubuntu com>
Date: Thu Jan 20 11:42:34 2011 +0100
Fix typo in previous commit to actually convert glib.GError
pygi-convert.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pygi-convert.sh b/pygi-convert.sh
index 4cf54e4..5381ebb 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;" \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]