So I've been trying to send structure over dbus-glib for a while and haven't had much success.&nbsp;&nbsp; Does anyone know an exist project that does this, or could write a small example.<br><br>Here a bit of what I have tried<br><br>
<br>I define a type in the xml as&nbsp;&nbsp; &quot;a(isb)&quot; and array of structs that have an interger string and boolean in them<br><br>then in my code, I make <br><br>GArray* array = g_array_sized_new(false,false,sizeof(mystruct), number_of_structs)
<br><br>for ...<br>&nbsp;&nbsp;&nbsp; array = g_array_append_vals(array,(gconstpointer) &amp;mystruct ,1 )<br><br>dbus call passing array in<br><br><br><br>The error I get is the GValueArray can not be in a collection.<br><br>Does this mean I can't do arrays of structs?&nbsp; Or an am I just doing everything wrong?
<br><br>Keith<span style="font-family: monospace;"><br><br></span><span style="font-family: monospace;"><br><br></span>