Spawn.vala
authorAlan Knowles <alan@roojs.com>
Fri, 2 May 2014 10:22:04 +0000 (18:22 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 2 May 2014 10:22:04 +0000 (18:22 +0800)
Spawn.vala

index 8da4893..69db9ea 100644 (file)
@@ -130,7 +130,7 @@ public class Spawn : Object
         this.cfg = cfg;
      
     
-        this.cfg.cwd =  this.cfg.cwd.length || GLib.get_home_dir();
+        this.cfg.cwd =  this.cfg.cwd.length || GLib.Enviroment.get_home_dir();
         if (!this.cfg.args.length) {
             throw new Error("No arguments");
         }