Re: [Vala] The name `get_name' does not exist in the context of `Test.A'



On Wed, 14 May 2008 19:21:25 +0200
Geert Jordaens <geert jordaens telenet be> wrote:

Could anybody give me a hint on what's wrong with folowing code :

         a.get_name();

You should use just a.name: the getter is created and used automatically
by Vala for GObject properties.

-- 
Andrea Bolognani <eof kiyuko org>
Resistance is futile, you will be garbage collected.

Attachment: pgpQv1rtVBBZo.pgp
Description: PGP signature



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