src/Project/Gtk.vala
authorAlan Knowles <alan@roojs.com>
Fri, 29 May 2015 08:14:37 +0000 (16:14 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 29 May 2015 08:14:37 +0000 (16:14 +0800)
src/Project/Gtk.vala

index 471b7c7..d4381fd 100644 (file)
@@ -33,7 +33,11 @@ namespace Project {
                        this.xtype = "Gtk";
                        var gid = "project-gtk-%d".printf(gtk_id++);
                        this.id = gid;
-                       this.loadConfig();
+                       try {
+                               this.loadConfig();
+                       } catch (GLib.Error) {
+                               // is tihs ok?
+                       }
                
                }
                public Gee.HashMap<string,GtkValaSettings> compilegroups;