bleakgrey / tootle

GTK-based Mastodon client for Linux
GNU General Public License v3.0
400 stars 61 forks source link

Compile error #163

Closed benwaffle closed 5 years ago

benwaffle commented 5 years ago
../src/Views/Abstract.vala:24.5-24.19: error: Creation method of abstract class cannot be public.
    public Abstract () {
    ^^^^^^^^^^^^^^^

on Vala 0.46.3

rodneyrod commented 5 years ago

Getting this in Manjaro AUR as well.

fauno commented 5 years ago

I made this patch (no idea about Vala though) but it ended up failing, I'm attaching build.log

--- src/Views/Abstract.vala.orig    2019-10-12 13:52:14.179913441 -0300
+++ src/Views/Abstract.vala 2019-10-12 14:23:13.926611089 -0300
@@ -21,7 +21,7 @@
         });
     }

-    public Abstract () {
+    Abstract () {
         show_all ();
     }

tootle-git-0.2+r30+gd8fc951-1-x86_64-build.txt

benwaffle commented 5 years ago

@fauno try protected

bleakgrey commented 5 years ago

Fixed in the refactor branch.