void-packages/srcpkgs/tootle/patches/vala-0.56.patch

24 lines
729 B
Diff

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 },