Fix #8120 - more experiments with hover
[roobuilder] / src / Main.vala
index 7c08df7..8da5e58 100644 (file)
@@ -14,23 +14,14 @@ int main (string[] args) {
        var app =  BuilderApplication.singleton(  args);
          
     Gtk.init ();
+    GtkSource.init();
+       Adw.init();
        
        // not sure why this was done?? - it caused crash bugs on gtk_Box_gadget so removed critical.
        // GLib.Log.set_always_fatal(LogLevelFlags.LEVEL_ERROR | LogLevelFlags.LEVEL_CRITICAL); 
        GLib.Log.set_always_fatal(LogLevelFlags.LEVEL_ERROR ); 
         
-       app.activate.connect(() => {
-               var w = new Xcls_MainWindow();
-
-               BuilderApplication.addWindow(w);
-               
-               // it looks like showall after children causes segfault on ubuntu 14.4
-               w.initChildren();
-       //      w.windowstate.showPopoverFiles(w.open_projects_btn.el, null, false);
-               w.show();
-       
-       });
        
        //
 //     w.windowstate.switchState(WindowState.State.FILES);