Re: [Vala] Looking for program's output
- From: Nicolas Joseph <gege2061 gmail com>
- To: Arkadi Viner <arkashkin gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Looking for program's output
- Date: Thu, 30 Jul 2009 17:09:39 +0200
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]