Re: [Vala] [vapigen] union inside a struct

2011-05-08 Thread Raul Gutierrez Segales
Hi, On Wed, 2010-12-15 at 18:25 +0100, Abderrahim Kitouni wrote: > Hello, < في ث، 14-12-2010 عند 16:06 + ، كتب Raul Gutierrez Segales: > > Hi, > > > > I am trying to understand how do the attributes glib:type-name and > > glib:get-type affect t

[Vala] badly generated code

2011-03-16 Thread Raul Gutierrez Segales
Hi, the following test program (which for me looks correct) generates bad C code (treats void as an actual assignable type): /* * valac --pkg gio-2.0 ./test.vala */ using GLib; [DBus (name = "com.meego.libsocialweb.ItemView")] public interface ItemView : GLib.DBusProxy { public abstract vo

Re: [Vala] using tracker for other tasks

2011-03-06 Thread Raul Gutierrez Segales
Hi, On Sun, 2011-03-06 at 19:20 +1300, banjo wrote: > hi all > > Ive been working on a vala app that requires complex data, > and found RDF was close to what i need. > > I was pondering Redland and Rasqal but they seem overkill > for what i want. > > This app is purely local and doesn't need e

[Vala] interfaces and properties

2011-02-03 Thread Raul Gutierrez Segales
Hi, Why is it that one *doesn't* have to use override when implementing a property declared on an interface? I.e.: interface Animal { public abstract GenericArray names_of_bones { get; set; } } class Dog : Object, Animal { public GenericArray names_of_bones { get; set; } }

[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