Re: [Vala] Some more troubles with GValues



On Wednesday 12 November 2008 23:03:56 Daniele Benucci wrote:

First try:
(1)            HashTable<string,Value> properties = server.GetProperties();
(2)            string address = properties.lookup("Address").get_string();
Vala compilation is successful, but C compilation fails with "incompatible
types in assignment" on C instruction derived from line 2.
I tried using dup_string too, but the result is the same.


Hi Daniele,
Try HashTable<string, Value?> instead. Works for me

Regards
-- 
Sudharshan S
Blog : http://www.sudharsh.wordpress.com
IRC   : Sup3rkiddo @ Freenode, Gimpnet

Attachment: signature.asc
Description: This is a digitally signed message part.



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