How to pass an image using dbus glib-binding

Sumit Kumar Jain sumitskj_20 at
Fri Feb 29 05:38:42 PST 2008

Thanks for a quick response. I changed the introspection file with the changes and it works. Actually should have thought of that, but somehow did not cross my mind.

Thanks :-)

Sumit Kumar Jain
Call me: +91-9880472974

----- Original Message ----
From: Ross Burton <ross at>
To: dbus at
Sent: Friday, 29 February, 2008 3:14:52 PM
Subject: Re: How to pass an image using dbus glib-binding

On Fri, 2008-02-29 at 01:26 -0800, Sumit Kumar Jain wrote:
> That i think is because dbus maps GArray to DBUS_TYPE_ARRAY. GArray
> has a pointer of gchar * while DBUS_TYPE_ARRAY is an array of uint32. 

A DBus array can contain any basic type, so if your array if array of
uint32 that is because you have defined it as being an array of uint32
(or 'au').  Create an array of bytes instead ('ay').

Ross Burton                                mail: ross at
                                          jabber: ross at
PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF

dbus mailing list
dbus at

      Why delete messages? Unlimited storage is just a click away. Go to
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the dbus mailing list