sync
[gitlive] / GitRepo.vala
index 4e018e5..99b0267 100644 (file)
@@ -26,7 +26,7 @@ public class GitRepo : Object
        public static GitRepo singleton()
     {
         if (_GitRepo == null) {
-            _GitRepo = new GitRepo();
+            _GitRepo = new GitRepo.single();
             _GitRepo.cache = new Gee.HashMap<string,GitRepo>();
         }
         return _GitRepo;
@@ -137,9 +137,9 @@ public class GitRepo : Object
                return new GitRepo(path);
        }
        
-    
-   
+    private GitRepo.single() {
+               // used to create the signleton
+       }
     /**
      * constructor:
      *