What about this:
public extend class Gtk.Widget {
public bool set_gl_capability (GdkGl.Config glconfig,
Gdk.GlContext? share_list, bool direct, int render_type) {
// do stuff.
}
}
AKA, when vala encounters the extend keyword, instead of panicing
duplicated class declarations, it
Feng Yu wrote:
What about this:
public extend class Gtk.Widget {
public bool set_gl_capability (GdkGl.Config glconfig,
Gdk.GlContext? share_list, bool direct, int render_type) {
// do stuff.
}
}
AKA, when vala encounters the extend keyword, instead of panicing
Hi Michael,
The types of internally used libraries are not registered if ModuleInit
is used.
I solved the same issue recently, in a rather convoluted way.
A noinst convenient library libcore.la
Another noinst convenient library libmain.la
Each is built with one call to valac. They are then