summaryrefslogtreecommitdiff
path: root/pygi-convert.sh
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2011-01-20 11:49:08 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2011-01-20 11:49:08 +0100
commit6447688e283a8fb22de3ab68cbc06e34ad23d198 (patch)
tree641f07c220ea13f95283959d43230eb3d9a11ff2 /pygi-convert.sh
parent84ee8de4bc00a8f901926cc6386d73c12dbd0b0b (diff)
downloadpygobject-6447688e283a8fb22de3ab68cbc06e34ad23d198.tar.gz
pygi-convert.sh: Convert glib.source_remove()
Diffstat (limited to 'pygi-convert.sh')
-rw-r--r--pygi-convert.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/pygi-convert.sh b/pygi-convert.sh
index 5381ebb2..2335edfe 100644
--- a/pygi-convert.sh
+++ b/pygi-convert.sh
@@ -153,6 +153,7 @@ for f in $FILES_TO_CONVERT; do
-pe "# GLib is not introspectable very well, for now we keep using the static bindings" \
-pe "s/glib.GError\b/gobject.GError/g;" \
-pe "s/glib.timeout_add\b/gobject.timeout_add/g;" \
+ -pe "s/glib.source_remove\b/gobject.source_remove/g;" \
-pe "s/glib.MainLoop\b/gobject.MainLoop/g;" \
-pe "#s/import glib\n/from gi.repository import GLib\n/g;" \
-pe "#s/(?<!\.)glib\./GLib\./g;" \