RooRepo.vala
authorAlan Knowles <alan@roojs.com>
Mon, 24 Dec 2018 07:24:23 +0000 (15:24 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 24 Dec 2018 07:24:23 +0000 (15:24 +0800)
RooRepo.vala

index 11df7a3..db20026 100644 (file)
@@ -23,10 +23,11 @@ public class RooRepo : Object
        }
        
        static Gee.ArrayList<RooRepo> _repos; // only available for singletonn.         
-       static Gee.ArrayList<RooRepo> init() {
+       public static  Gee.ArrayList<RooRepo> repos() {
                RooRepo.init();
                return RooRepo._repos;
        }
+       
        static RooRepo add(Json.Object t)
        {
                var add = new RooRepo();