X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=GitRepo.vala;h=99b026776bb800019e03cfac81a3dff607b214d2;hp=4e018e547b12347508e44dcf9b9e84cfab574443;hb=8d5b5ff019670d4b09db242aadfd24355a9d8ea6;hpb=687788b547e87d4c8f915e175d8896ae7ffdbd47 diff --git a/GitRepo.vala b/GitRepo.vala index 4e018e54..99b02677 100644 --- a/GitRepo.vala +++ b/GitRepo.vala @@ -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(); } return _GitRepo; @@ -137,9 +137,9 @@ public class GitRepo : Object return new GitRepo(path); } - - - + private GitRepo.single() { + // used to create the signleton + } /** * constructor: *