Re: Vala changes



On Mon, Jul 21, 2008 at 2:11 AM, Stef <stef memberwebs com> wrote:
> Adam Schreiber wrote:
>> On Sun, Jul 20, 2008 at 10:52 AM, Stef <stef-list memberwebs com> wrote:
>>> You can also define a 'constructor' vfunc. See seahorse-unknown-key.c
>>> for an example of that. That way you can have code that runs after the
>>> construction properties are set, and the object is pretty much fully
>>> created (with the exception of derived class constructors). A
>>> constructor vfunc is the equivalent of a 'construct { }' block in vala.
>>
>> This is the approach I decided to go with and have checked it in.
>
> Cool. But aren't widthkey and heightkey leaking memory?

Not anymore, that's what I get for finishing up late at night.

Cheers,

Adam


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