JSDOC/ScopeParser.vala
[gnome.introspection-doc-generator] / JSDOC / Packer.vala
index 54e4eca..ddb517c 100644 (file)
@@ -100,6 +100,11 @@ namespace JSDOC
                // list of files to compile...
                Gee.ArrayList<string> files;
                
+               
+               
+               public string activeFile = "";
+               
+               
                public  string out = ""; // if no target is specified - then this will contain the result
     
                public Packer(string target, string targetDebug = "")
@@ -402,8 +407,8 @@ namespace JSDOC
                
                
                
-                        if (out.length > 0) {
-                               FileUtils.put_contents(minfile, outf);
+                        if (outf.length > 0) {
+                               FileUtils.set_contents(minfile, outf);
                                 
                        }
                
@@ -417,7 +422,7 @@ namespace JSDOC
                public string md5(string str)
                {
                
-                       return GLib.compute_checksum_for_string(GLib.ChecksumType.MD5, str);
+                       return GLib.Checksum.compute_for_string(GLib.ChecksumType.MD5, str);
                
                }