[pygobject] pygi-convert.sh: Convert glib.source_remove()



commit 6447688e283a8fb22de3ab68cbc06e34ad23d198
Author: Martin Pitt <martin pitt ubuntu com>
Date:   Thu Jan 20 11:49:08 2011 +0100

    pygi-convert.sh: Convert glib.source_remove()

 pygi-convert.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pygi-convert.sh b/pygi-convert.sh
index 5381ebb..2335edf 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;" \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]