Fix build with newer vala

This commit is contained in:
Baptiste Daroussin 2020-09-25 14:32:34 +00:00
parent 58e8992e42
commit 400e5f40d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550038
2 changed files with 21 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= ibus
PORTVERSION= 1.5.22
PORTREVISION= 1
CATEGORIES= textproc
MAINTAINER= henry.hu.sh@gmail.com

View File

@ -0,0 +1,20 @@
--- ui/gtk3/application.vala.orig 2020-02-21 12:43:01 UTC
+++ ui/gtk3/application.vala
@@ -69,7 +69,7 @@ class Application {
}
private void bus_name_acquired_cb(DBusConnection connection,
- string sender_name,
+ string? sender_name,
string object_path,
string interface_name,
string signal_name,
@@ -80,7 +80,7 @@ class Application {
}
private void bus_name_lost_cb(DBusConnection connection,
- string sender_name,
+ string? sender_name,
string object_path,
string interface_name,
string signal_name,