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



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.


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