Re: [Vala] How to assign to construct-only property?



On Wed, Nov 21, 2012 at 4:26 PM, Hodong Kim <cogniti gmail com> wrote:

class InflateGZip : Gsf.InputGZip
{
    public InflateGZip(Gsf.Input source)
    {
        //Object(raw: true);
        base(source);
    }
}


You can only use either Object() or base():
Object (raw: true, source: source);

-- 
www.debian.org - The Universal Operating System


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