src/Spawn.vala
authorAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 08:19:13 +0000 (16:19 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 08:19:13 +0000 (16:19 +0800)
src/Spawn.vala

index a1aaa03..e3df92a 100644 (file)
@@ -139,7 +139,7 @@ public class Spawn : Object
      * result is applied to object properties (eg. '?' or 'stderr')
      * @returns {Object} self.
      */
-       public void run(SpawnFinish finish) throws SpawnError, GLib.SpawnError, GLib.IOChannelError
+       public void run( ) throws SpawnError, GLib.SpawnError, GLib.IOChannelError
        {
                
                 
@@ -209,7 +209,7 @@ public class Spawn : Object
                        this.tidyup();
                        //print("DONE TIDYUP");
                        
-                       finish(this.result, this.output, this.stderr);
+                       this.complete(this.result, this.output, this.stderr);
                        
                });