tootle: fix for vala 0.56

This commit is contained in:
Michal Vasilek 2022-04-02 19:35:16 +02:00 committed by Echo
parent 81a2db4b67
commit b6bfd7b472
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
From 11d94c05d4c4a2350801294f155230e899048ab5 Mon Sep 17 00:00:00 2001
From: Bobby Rong <rjl931189261@126.com>
Date: Sat, 19 Mar 2022 16:59:31 +0800
Subject: [PATCH] Application: make app_entries private
Fixes compilation with latest valac.
---
src/Application.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Application.vala b/src/Application.vala
index 57d0fd7..b48cb53 100644
--- a/src/Application.vala
+++ b/src/Application.vala
@@ -43,7 +43,7 @@ namespace Tootle {
{ null }
};
- public const GLib.ActionEntry[] app_entries = {
+ private const GLib.ActionEntry[] app_entries = {
{ "about", about_activated },
{ "compose", compose_activated },
{ "back", back_activated },