File: Build-with-vala-0.36.patch

package info (click to toggle)
libkkc 0.3.5-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,908 kB
  • sloc: ansic: 7,099; makefile: 917; cpp: 435; python: 231; sh: 124
file content (25 lines) | stat: -rw-r--r-- 853 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Daiki Ueno <ueno@gnu.org>
Date: Tue, 28 Mar 2017 14:57:47 +0200
Subject: build: Fix compile error with Vala 0.36

Applied-Upstream: commit:253fb0673a3e98cfc5e90c70e794f9786f8e30f4

With this commit: https://git.gnome.org/browse/vala/commit/?id=73b9e4b4
Vala introduced a stricter checks for constructor chain-ups.
---
 libkkc/key-event.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libkkc/key-event.vala b/libkkc/key-event.vala
index 0baa85c..6e28aa6 100644
--- a/libkkc/key-event.vala
+++ b/libkkc/key-event.vala
@@ -148,7 +148,7 @@ namespace Kkc {
                     throw new KeyEventFormatError.PARSE_FAILED (
                         "unknown keyval %s", _name);
             }
-            from_x_event (_keyval, 0, _modifiers);
+            this.from_x_event (_keyval, 0, _modifiers);
         }
 
         /**