Git.vala
[gitlive] / Git.vala
index 91aeb66..d630e53 100644 (file)
--- a/Git.vala
+++ b/Git.vala
@@ -303,7 +303,7 @@ namespace  GitLive {
                        ThreadFunc<bool> run = () => {
                                
                                if (!force && this.remote_heads != null) {
-                                       return;
+                                       return true;;
                                }
                                var r = this.repo.lookup_remote("origin");
                                r.connect(Ggit.Direction.FETCH, this.callbacks, null, null);
@@ -322,9 +322,11 @@ namespace  GitLive {
                                                );
                                }
                                Idle.add((owned) callback);
+                               return true;;
                        };
                        new Thread<bool>("thread-example", run);
                        yield;
+                       
 
                }