Re: [Vala] 16-bit properties, bug?



2010/4/29 Luca Bruno <lethalman88 gmail com>:
On Wed, Apr 28, 2010 at 10:35:17PM +0200, Rafael Monica wrote:
Hi, I'm having a problem with 16-bit properties. I think it's a bug
but since I'm new to Vala I'm not 100% sure. So I ask here. (Code
compiles fine if I use uint32)

You can't have gobject properties for those types because there's no
corresponding GType:
http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-TYPE-INVALID:CAPS


Hmm, okay. I guess I'll have to cast the internal value to 32-bit then.

Thanks



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