GNOME Bugzilla – Bug 654955
improve GVariant support for object path lists
Last modified: 2011-07-21 13:35:00 UTC
The D-Bus type "ao" frequently appears in D-Bus services but is not well-supported in GVariant.
Created attachment 192295 [details] [review] GVariant: better support for object path arrays Add G_VARIANT_TYPE_OBJECT_PATH_ARRAY along with accessor functions g_variant_new_objv, g_variant_get_objv and g_variant_dup_objv. Also add support for '^ao' and '^a&o' format strings for g_variant_new() and g_variant_get().
Sounds good to me. It's good timing too, because adding this to gdbus-codegen(1) will break the ABI guarantees on generated code (we can break it now, but not after 2.30...)
Pushed.
I just committed the gdbus-codegen changes, see http://git.gnome.org/browse/glib/commit/?id=419bfe325c40604268dbb7fa050e355c9681577e