Attribute changed old-javascript
[app.Builder.js] / old-javascript / Builder4 / Main.vala
1 /**
2  * Test the writer code...
3
4
5 */
6  
7 int main (string[] args) {
8     Gtk.init (ref args);
9
10         var app =  Builder4.Application.singleton();
11         GtkClutter.init (ref args);
12         new JsRender.Lang_Class();
13         GLib.Log.set_always_fatal(LogLevelFlags.LEVEL_ERROR | LogLevelFlags.LEVEL_CRITICAL); 
14         Project.Project.loadAll();
15         /*var proj = Project.Project.getProject("Pman.Core");
16         if (proj == null) {
17                 print("could not load test project Pman.Core");
18                 return 0;
19         }
20         proj.scanDirs();
21         */
22
23         var w = Xcls_MainWindow.singleton();
24         //w.ref();
25         //w.project = proj;
26         
27         w.el.show_all();
28         // it looks like showall after children causes segfault on ubuntu 14.4
29         w.initChildren();
30         w.hideViewEditing();
31         Gtk.main();
32     
33         
34         return 0;
35 }