mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
gdbus-codegen: Use G_TYPE_STRV/gchar** for GVariant type 'ao'
This is possible now that we have better support for object path arrays, see http://git.gnome.org/browse/glib/commit/?id=19878998bc386db78614f1c92ff8524a81479c7b Note that this breaks the ABI of generated code but since gdbus-codegen(1) has never yet been in a stable GLib release, this is fine. Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
@@ -754,7 +754,8 @@ on_handle_hello_world (MyAppFrobber *interface,
|
||||
<link linkend="G-VARIANT-TYPE-OBJECT-PATH:CAPS">'o'</link> and
|
||||
<link linkend="G-VARIANT-TYPE-SIGNATURE:CAPS">'g'</link>) and
|
||||
arrays of string (type-strings
|
||||
<link linkend="G-VARIANT-TYPE-STRING-ARRAY:CAPS">'as'</link> and
|
||||
<link linkend="G-VARIANT-TYPE-STRING-ARRAY:CAPS">'as'</link>,
|
||||
<link linkend="G-VARIANT-TYPE-OBJECT-PATH-ARRAY:CAPS">'ao'</link> and
|
||||
<link linkend="G-VARIANT-TYPE-BYTESTRING-ARRAY:CAPS">'aay'</link>)
|
||||
are mapped to the natural types,
|
||||
e.g. #gboolean, #gdouble, #gint, <link linkend="gchararray">gchar*</link>,
|
||||
|
Reference in New Issue
Block a user