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 <[email protected]>
wrote:
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
[email protected]
https://mail.gnome.org/mailman/listinfo/vala-list
_______________________________________________
vala-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/vala-list