projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65a6e0b
)
RooRepo.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 24 Dec 2018 07:21:42 +0000
(15:21 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 24 Dec 2018 07:21:42 +0000
(15:21 +0800)
RooRepo.vala
patch
|
blob
|
history
diff --git
a/RooRepo.vala
b/RooRepo.vala
index
4444662
..
8dfbfb0
100644
(file)
--- a/
RooRepo.vala
+++ b/
RooRepo.vala
@@
-13,12
+13,13
@@
public class RooRepo : Object
public string shortname;
- static init()
+ static
RooRepo
init()
{
if (_RooRepo == null) {
_RooRepo = new RooRepo();
RooRepo.load();
}
+ return _RooRepo;
}
static Gee.ArrayList<RooRepo> _repos; // only available for singletonn.