=?utf-8?q?=5Bpygobject=5D_pygi-convert=3A_remove_deprecated_GLib_?= =?utf-8?q?=E2=86=92_GObject_conversions?=



commit a932446e6648ecd98c9038298b18c6fbd36c01aa
Author: Jose Rostagno <joserostagno vijona com ar>
Date:   Mon Nov 5 14:26:05 2012 -0300

    pygi-convert: remove deprecated GLib â GObject conversions
    
    Using these functions from the GObject module is deprecated now, they should be
    used from GLib.

 pygi-convert.sh |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/pygi-convert.sh b/pygi-convert.sh
index 35b3e11..c5887f8 100755
--- a/pygi-convert.sh
+++ b/pygi-convert.sh
@@ -201,11 +201,6 @@ for f in $FILES_TO_CONVERT; do
     -pe "s/Gio.OUTPUT_STREAM_SPLICE_/Gio.OutputStreamSpliceFlags./g;" \
     -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\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;" \
     -pe "#s/GLib.IO_(ERR|HUP|IN|NVAL|OUT|PRI)/GLib.IOCondition./g;" \



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