Hi Jürg, I thought so, too. But adding the new I got a segfault in valac and thought it was wrong. Thanks for pointing out this obvious error. I will see where the segfault comes from and report back.
Regards, Christoph -------- Original-Nachricht -------- > Datum: Tue, 22 Jan 2008 14:06:04 +0100 > Von: "Jürg Billeter" <[EMAIL PROTECTED]> > An: eGore <[EMAIL PROTECTED]> > CC: [email protected] > Betreff: Re: [Vala] IOChannel changes? > Hi Christoph, > > On Tue, 2008-01-22 at 13:59 +0100, eGore wrote: > > I upgraded from Vala 0.1.5 to 0.1.6 and tried to compile "my" > > programs. One of these programs had a line: > > > > IOChannel xyz = IOChannel.file("xyz.txt", "w"); > > That was a bug in 0.1.5. You're missing `new´ for this creation method. > The following should work fine with 0.1.5 and 0.1.6: > > IOChannel xyz = new IOChannel.file("xyz.txt", "w"); > > Jürg > > _______________________________________________ > Vala-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/vala-list -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer _______________________________________________ Vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
