GNOME Bugzilla – Bug 625050
Add override for GLib.Variant.new_tuple
Last modified: 2010-09-10 08:55:01 UTC
g_variant_new_tuple is not introspectable
Created attachment 166408 [details] [review] Add override for GLib.Variant.new_tuple * gi/gimodule.c: Add _wrap_pyg_variant_new_tuple * gi/overrides/GLib.py: Override Variant.new_tuple and Variant.get_string * gi/pygi-type.[hc]: split _pygi_type_import_by_name out from _pygi_type_import_by_gi_info * gi/types.py: Never override gobject.TYPE_NONE * tests/test_everything.py: Add tests for GVariant tuples
Ryan is working on something slightly different which may negate the need for this patch
Created attachment 169743 [details] [review] Add override for GLib.Variant.new_tuple * gi/gimodule.c: Add _wrap_pyg_variant_new_tuple * gi/overrides/GLib.py: Override Variant.new_tuple and Variant.get_string * gi/pygi-type.[hc]: split _pygi_type_import_by_name out from _pygi_type_import_by_gi_info * gi/types.py: Never override gobject.TYPE_NONE * tests/test_everything.py: Add tests for GVariant tuples
Rebased, I think we shouldn't wait any more. This patch will allow making calls with GDBus.
Hi, could you check in the gi/overrides/GLib.py file too? It breaks the build: $ ls gi/overrides/G* gi/overrides/Gdk.py gi/overrides/GIMarshallingTests.py gi/overrides/Gtk.py make[3]: Entering directory `/home/gabor/checkout/gnome/pygobject/gi/overrides' make[3]: Nothing to be done for `install-exec-am'. make[3]: *** No rule to make target `GLib.py', needed by `install-pygioverridesPYTHON'. Stop. make[3]: Leaving directory `/home/gabor/checkout/gnome/pygobject/gi/overrides'
(In reply to comment #5) > Hi, could you check in the gi/overrides/GLib.py file too? It breaks the build: Sorry, it should be fine now.