Fix property with custom get+set to not have a default value (compiler error with vala 0.41)

Fix encryption icon not being shown right away
This commit is contained in:
fiaxh 2018-09-04 13:48:33 +02:00
parent 69b886ef1e
commit 79e0aee5fd
2 changed files with 1 additions and 2 deletions

View File

@ -180,7 +180,7 @@ public class MessageProcessor : StreamInteractionModule, Object {
private class StoreMessageListener : MessageListener {
public string[] after_actions_const = new string[]{ "DEDUPLICATE" };
public string[] after_actions_const = new string[]{ "DEDUPLICATE", "DECRYPT" };
public override string action_group { get { return "STORE"; } }
public override string[] after_actions { get { return after_actions_const; } }

View File

@ -53,7 +53,6 @@ public class DataForm {
public string? label {
get { return node.get_attribute("label", NS_URI); }
set { node.set_attribute("label", value); }
default = null;
}
public virtual Type? type_ { get; internal set; default=null; }
public string? var {