mirror of
https://github.com/TakeV-Lambda/dino.git
synced 2024-11-10 17:51:52 +00:00
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:
parent
016ab2c19b
commit
48c2e7afa4
3 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
@ -185,4 +185,4 @@ public abstract class Column<T> {
|
|||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue