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>
This commit is contained in:
Randy Barlow 2019-09-01 12:37:46 -04:00 committed by fiaxh
parent 016ab2c19b
commit 48c2e7afa4
3 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -55,7 +55,7 @@ public abstract class Column<T> {
return res;
}
public Column(string name, int type) {
Column(string name, int type) {
this.name = name;
this.sqlite_type = type;
}

View file

@ -15,7 +15,7 @@ public abstract class StatementBuilder {
public T value;
public Column<T>? column;
public AbstractField(T value) {
AbstractField(T value) {
this.value = value;
}