[Vala] GLib.Object.get_type() static?

2016-01-23 Thread Daniel Espinosa
Why in gobject-2.0.vapi GLib.Object.get_type () is an instant method? This method should be declared as static, because some times a library requires to register a type on initialization to aviod errors at runtime. ___ vala-list mailing list

Re: [Vala] GLib.Object.get_type() static?

2016-01-23 Thread Ben
Object.get_type () gets the type of an instance. It doesn't make sense to make it static. On Sat, Jan 23, 2016 at 6:59 AM, Daniel Espinosa wrote: Why in gobject-2.0.vapi GLib.Object.get_type () is an instant method? This method should be declared as static, because some