JSDOC/ScopeParser.vala
[gnome.introspection-doc-generator] / JSDOC / Packer.vala
index aec13f2..ddb517c 100644 (file)
@@ -407,8 +407,8 @@ namespace JSDOC
                
                
                
-                        if (out.length > 0) {
-                               FileUtils.put_contents(minfile, outf);
+                        if (outf.length > 0) {
+                               FileUtils.set_contents(minfile, outf);
                                 
                        }
                
@@ -422,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);
                
                }