File tracker-Use-correct-signature.patch of Package tracker
From 80baef2cf30e6936dd989a149bf2ce2bdd2ae36c Mon Sep 17 00:00:00 2001
From: Rico Tzschichholz <ricotz@ubuntu.com>
Date: Tue, 7 Apr 2020 16:51:30 +0200
Subject: [PATCH] tracker-store: Use correct signature for DBusSignalCallback
This change is backwards compatible with older gio-2.0 bindings
---
src/tracker-store/tracker-dbus.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tracker-store/tracker-dbus.vala b/src/tracker-store/tracker-dbus.vala
index 82387d76e..dbbd775d6 100644
--- a/src/tracker-store/tracker-dbus.vala
+++ b/src/tracker-store/tracker-dbus.vala
@@ -122,7 +122,7 @@ public class Tracker.DBus {
return true;
}
- static void name_owner_changed_cb (DBusConnection connection, string sender_name, string object_path, string interface_name, string signal_name, Variant parameters) {
+ static void name_owner_changed_cb (DBusConnection connection, string? sender_name, string object_path, string interface_name, string signal_name, Variant parameters) {
unowned string name, old_owner, new_owner;
parameters.get ("(&s&s&s)", out name, out old_owner, out new_owner);
--
2.24.1