aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service
diff options
context:
space:
mode:
authorRandy Barlow <randy@electronsweatshop.com>2019-09-01 12:37:46 -0400
committerfiaxh <fiaxh@users.noreply.github.com>2019-09-01 21:19:09 +0200
commit48c2e7afa497acc2e75cf5673d0dcdaa8ba638a7 (patch)
treee52130d9d5c3c2e2e922e2d6529eea7cbdc958a9 /libdino/src/service
parent016ab2c19b0760792f3ea8f00bfc46b49500f96a (diff)
downloaddino-48c2e7afa497acc2e75cf5673d0dcdaa8ba638a7.tar.gz
dino-48c2e7afa497acc2e75cf5673d0dcdaa8ba638a7.zip
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 <randy@electronsweatshop.com>
Diffstat (limited to 'libdino/src/service')
-rw-r--r--libdino/src/service/content_item_store.vala2
1 files changed, 1 insertions, 1 deletions
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;