Re: [Vala] How to use a DBus Dict in Vala?



Am Saturday 10 January 2009 10:29:04 schrieb Jürg Billeter:
So apparantly we need to use dbus_g_type_get_map for a{sv} [and likewise,
I've seen dbus_g_type_get_collection getting used for arrays].

How do we move from here?

This should now be fixed in trunk. The correct dbus-glib specific type
was already used for method calls but not for signal handlers. Can you
confirm that it works for you as well? I'm aiming for a 0.5.5 bug-fix
release soon.

It works fine with svn, thanks a lot.

There are some types that are known to not work in signal handlers such
as structs.

I see, we will probably stumble over this eventually. freesmartphone.org has 
quite a number of complex signal signatures :)

The plan is to fix this when moving away from dbus-glib, not
feasible in a sane way before.

That sounds good. I mentioned libgdbus on IRC, the respective links are 
http://git.moblin.org/repos/projects/libgdbus.git/ for the repository and 
http://lists.freedesktop.org/archives/dbus/2008-April/009636.html for the 
announcement.

I don't know whether this would be helpful for the reimplementation of dbus 
client support, but I thought you might want to take a look.

Thanks,

Mickey.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]