Page MenuHomeSolus

Cannot build Tootle due to Vala error
Closed, InvalidPublic

Description

Tootle package is not able to build because of a vala compile error:

../src/Views/AbstractView.vala:24.5-24.23: error: Creation method of abstract class cannot be public.
    public AbstractView () {

Maybe it just needs an update.

Event Timeline

JoshStrobl edited projects, added Upstream Issue; removed Lacks Project.
JoshStrobl added a subscriber: JoshStrobl.

File this with the upstream dev.,

@akrenz you build it by replacing public with protected

diff --git a/src/Views/AbstractView.vala b/src/Views/AbstractView.vala
index e1c7f06..2945624 100644
--- a/src/Views/AbstractView.vala
+++ b/src/Views/AbstractView.vala
@@ -21,7 +21,7 @@ public abstract class Tootle.AbstractView : ScrolledWindow {
         });
     }
 
-    public AbstractView () {
+    protected AbstractView () {
         show_all ();
     }
     
-- 
2.27.0