Gilles Filippini a écrit : > Hello Ali, > > Ali Sabil a écrit : >> I think that for now you still have to use HashTable instead of Gee.HashMap > > I've tried GLib.HashTable too. And I'm stuck with the same kind of > run-time error: > > ** (process:3942): WARNING **: No demarshaller registered for type > "gpointer" > > ** (process:3942): CRITICAL **: file dict.c: line 49: uncaught error: > No demarshaller registered for type "gpointer" > >> On Sun, Nov 30, 2008 at 10:11 AM, Gilles Filippini <[EMAIL PROTECTED] >>> wrote: >>> Hello, >>> >>> I'm very new to vala, and while trying to use the Gee.HashMap<string, >>> int> type to handle a DBus dictionary I encountered the following error: >>> >>> uncaught error: No demarshaller registered for type "GeeHashMap" >>> >>> How should I proceed to register a demarshaller?
OK. My fault :( I planned to give a try to the upcoming Vala release. So I started to read the previous releases notes on the Vala home page to gather informations about manual installation. I then dicovered that GHashTable support in DBus client has been introduced in vala-0.5.1. The fact is I use the Vala compiler shipped in Debian unstable. And it is Vala-0.3.4... I've just tested my code with vala-0.5.1 and now it works as expected :) Thanks, _Gilles. _______________________________________________ Vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
