RooRepo.vala
[gitlive] / RooRepo.vala
index b8c270a..11df7a3 100644 (file)
@@ -23,11 +23,11 @@ public class RooRepo : Object
        }
        
        static Gee.ArrayList<RooRepo> _repos; // only available for singletonn.         
-       static public  Gee.ArrayList<RooRepo>() {
+       static Gee.ArrayList<RooRepo> init() {
                RooRepo.init();
                return RooRepo._repos;
        }
-       public RooRepo add(Json.Object t)
+       static RooRepo add(Json.Object t)
        {
                var add = new RooRepo();
                add.id = t.get_string_member("id");