/** * Test the writer code... */ int main (string[] args) { Gtk.init (ref args); var app = Builder4.Application.singleton(); GtkClutter.init (ref args); new JsRender.Lang_Class(); GLib.Log.set_always_fatal(LogLevelFlags.LEVEL_ERROR | LogLevelFlags.LEVEL_CRITICAL); Project.Project.loadAll(); /*var proj = Project.Project.getProject("Pman.Core"); if (proj == null) { print("could not load test project Pman.Core"); return 0; } proj.scanDirs(); */ var w = Xcls_MainWindow.singleton(); //w.ref(); //w.project = proj; w.el.show_all(); // it looks like showall after children causes segfault on ubuntu 14.4 w.initChildren(); w.hideViewEditing(); Gtk.main(); return 0; }