Hello,

2009/7/30 Arkadi Viner <arkash...@gmail.com>

>
> It doesn't compile and I don't know why... please help...
>
>
The function read_from_channel must be static, or create an instance of your
Main class and call add_watch with this instance:

var m = new Main ();
iochan.add_watch(IOCondition.IN, m.read_from_channel);

PS: Sorry, I had forget the mailing-list
-- 
Nicolas Joseph
_______________________________________________
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to