From 48c2e7afa497acc2e75cf5673d0dcdaa8ba638a7 Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Sun, 1 Sep 2019 12:37:46 -0400 Subject: Do not mark abstract class contstuctors public Starting with Vala 0.45.1, it is an error to mark abstract class constructors public[0,1]. This commit removes three such declarations. fixes #609 [0] https://gitlab.gnome.org/GNOME/vala/raw/master/NEWS [1] https://gitlab.gnome.org/GNOME/vala/issues/766 Signed-off-by: Randy Barlow --- libdino/src/service/content_item_store.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdino') diff --git a/libdino/src/service/content_item_store.vala b/libdino/src/service/content_item_store.vala index 3800f35d..7baba1fd 100644 --- a/libdino/src/service/content_item_store.vala +++ b/libdino/src/service/content_item_store.vala @@ -207,7 +207,7 @@ public abstract class ContentItem : Object { public Encryption? encryption { get; set; default=null; } public Entities.Message.Marked? mark { get; set; default=null; } - public ContentItem(int id, string ty, Jid jid, DateTime sort_time, DateTime display_time, Encryption encryption, Entities.Message.Marked mark) { + ContentItem(int id, string ty, Jid jid, DateTime sort_time, DateTime display_time, Encryption encryption, Entities.Message.Marked mark) { this.id = id; this.type_ = ty; this.jid = jid; -- cgit v1.2.3-70-g09d2