Re: [Vala] Gtk.RecentFilterInfo and some interface issues.

2010-12-14 Thread Frederik
On 12/14/2010 07:27 PM, Erick Pérez Castellanos wrote: > Hi: > > I have two issues right now coding in vala: > > First: > I'm using Gtk.RecentFilterInfo, and i got this: > > Gtk.RecentFilterInfo a = new Gtk.RecentFilterInfo(); > error: 'Gtk.RecentFilterInfo' does not have a default constructor >

[Vala] Gtk.RecentFilterInfo and some interface issues.

2010-12-14 Thread Erick Pérez Castellanos
Hi: I have two issues right now coding in vala: First: I'm using Gtk.RecentFilterInfo, and i got this: Gtk.RecentFilterInfo a = new Gtk.RecentFilterInfo(); error: 'Gtk.RecentFilterInfo' does not have a default constructor and my question is how to instantiate that. Now I've found that in Gtk c

[Vala] How to write float and double values into a binary file?

2010-12-14 Thread Sepehr Aryani
I'm wondering how to write a float or double value into a binary file. Well, 'FileStream.write' api looks like below: public size_t *write* ( uint8 [] buf, size_t s

[Vala] [vapigen] union inside a struct

2010-12-14 Thread Raul Gutierrez Segales
Hi, I am trying to understand how do the attributes glib:type-name and glib:get-type affect the way vapigen treats a . I am running vapigen on a gir that has .. and it complains with: "error: unknown child element `union' in `class'". Whereas if I leave out those attributes it compiles n