Re: [Vala] Looking for program's output



Hello,

2009/7/30 Arkadi Viner <arkashkin 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


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