src/Palete/ValaSource.vala
authorAlan Knowles <alan@roojs.com>
Fri, 15 May 2015 06:32:54 +0000 (14:32 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 15 May 2015 06:32:54 +0000 (14:32 +0800)
src/Palete/ValaSource.vala

index f5d9087..e8347d0 100644 (file)
@@ -175,8 +175,7 @@ namespace Palete {
 
                Vala.CodeContext context;
                ValaSourceReport report;
-               JsRender.JsRender file; 
-               Project.Gtk project;
+               Project.Gtk project;
                public string build_module;
                public string filepath;
                public string original_filepath;
@@ -221,7 +220,8 @@ namespace Palete {
                        // untill we get a smarter renderer..
                        // we have some scenarios where changing the value does not work
                        if (prop == "* xns" || prop == "xtype") {
-                               return;
+                               result_callback(new Json.Object());
+                               return ;
                        }