GitRepo.vala
authorAlan Knowles <alan@roojs.com>
Sat, 23 Sep 2017 05:25:24 +0000 (13:25 +0800)
committerAlan Knowles <alan@roojs.com>
Sat, 23 Sep 2017 05:25:24 +0000 (13:25 +0800)
GitRepo.vala

index 3c73398..05c5762 100644 (file)
@@ -274,8 +274,8 @@ public class GitRepo : Object
         
     }
     
-    
-    async public string pull_async(Callback_pull cb) {
+    public delegate void PullAsyncCallback (string str)
+    async public string pull_async(PullAsyncCallback cb) {
     
         //var e = yield dir.enumerate_children_async(
         //    FileAttribute.STANDARD_NAME, 0, Priority.DEFAULT, null);