How to pass an image using dbus glib-binding

Ross Burton ross at burtonini.com
Fri Feb 29 01:44:52 PST 2008


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
-- 
Ross Burton                                 mail: ross at burtonini.com
                                          jabber: ross at burtonini.com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF





More information about the dbus mailing list