How to pass an image using dbus glib-binding
Sumit Kumar Jain
sumitskj_20 at yahoo.com
Fri Feb 29 05:38:42 PST 2008
Hi,
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 :-)
Regards,
Sumit
Sumit Kumar Jain
Call me: +91-9880472974
----- Original Message ----
From: Ross Burton <ross at burtonini.com>
To: dbus at freedesktop.org
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
--
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
_______________________________________________
dbus mailing list
dbus at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus
Why delete messages? Unlimited storage is just a click away. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20080229/ca87b7d1/attachment.htm
More information about the dbus
mailing list