elementary-mail/SOURCES/c3aa61d.patch
2023-03-21 23:28:23 +01:00

24 lines
914 B
Diff

From c3aa61d226f49147d7685cc00013469ff4df369a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Corentin=20No=C3=ABl?= <corentin@elementary.io>
Date: Sat, 29 Jan 2022 14:57:25 +0100
Subject: [PATCH] ComposerWidget: Make ACTION_ENTRIES private (#765)
Fixes compilation with latest valac.
---
src/Composer/ComposerWidget.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Composer/ComposerWidget.vala b/src/Composer/ComposerWidget.vala
index 3fe962a1..ccc05d5e 100644
--- a/src/Composer/ComposerWidget.vala
+++ b/src/Composer/ComposerWidget.vala
@@ -66,7 +66,7 @@ public class Mail.ComposerWidget : Gtk.Grid {
DRAFT
}
- public const ActionEntry[] ACTION_ENTRIES = {
+ private const ActionEntry[] ACTION_ENTRIES = {
{ACTION_ADD_ATTACHMENT, on_add_attachment },
{ACTION_BOLD, on_edit_action, "s", "''" },
{ACTION_ITALIC, on_edit_action, "s", "''" },