<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
yes, it seems so.<br>
<br>
But... it does not tell me how to extract the values.<br>
<br>
dbus_g_type_get... functions return GType. What shall I do with it?
<br>
<br>
Shall I use
<br>
g_value_array_get_nth
<br>
<br>
to iterate through GValueArray, retrieving according GType and then
process them or there is a better possibility?
<br>
<br>
Shall I free the array after use? (I don't belive that but...)
<br>
<br>
once more thank you for your help,
<br>
<br>
with best regards,
<br>
<br>
bogdan
<br>
<br>
On 8/16/2011 13:29, Thiago Macieira wrote:
<blockquote cite="mid:12782966.qxP0EGvPpx@doriath" type="cite">
<pre wrap="">On Tuesday, 16 de August de 2011 10:27:08 Simon McVittie wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> GValueArray<gint, gint, GPtrArray<GValueArray<gchar *, gchar *, gint,
gint>>>
</pre>
</blockquote>
<pre wrap="">
Looks like there's one > too many there :-)
</pre>
<blockquote type="cite">
<pre wrap="">Its GType is:
dbus_g_type_get_struct ("GValueArray",
G_TYPE_INT,
G_TYPE_INT,
dbus_g_type_get_collection ("GPtrArray",
dbus_g_type_get_struct ("GValueArray",
G_TYPE_STRING,
G_TYPE_STRING,
G_TYPE_INT,
G_TYPE_INT)),
G_TYPE_INVALID);
(Ugh.)
</pre>
</blockquote>
<pre wrap="">
And it looks like there's one G_TYPE_INVALID missing, before the )).
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
dbus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dbus@lists.freedesktop.org">dbus@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/dbus">http://lists.freedesktop.org/mailman/listinfo/dbus</a>
</pre>
</blockquote>
<br>
</body>
</html>