From 76e425ed2705349b201444e78719896419862b00 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Tue, 12 Oct 2021 16:14:01 +0200 Subject: Fix compiler warnings ('assignment .. from incompatible pointer type') by returning non-const after_actions in OrderListener --- plugins/openpgp/src/stream_module.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/openpgp/src') diff --git a/plugins/openpgp/src/stream_module.vala b/plugins/openpgp/src/stream_module.vala index 447ed5fd..32a77580 100644 --- a/plugins/openpgp/src/stream_module.vala +++ b/plugins/openpgp/src/stream_module.vala @@ -136,7 +136,7 @@ namespace Dino.Plugins.OpenPgp { public class ReceivedPipelineDecryptListener : StanzaListener { - private const string[] after_actions_const = {"MODIFY_BODY"}; + private string[] after_actions_const = {"MODIFY_BODY"}; public override string action_group { get { return "ENCRYPT_BODY"; } } public override string[] after_actions { get { return after_actions_const; } } -- cgit v1.2.3-54-g00ecf