Dominique Leuenberger
172f0a96df
Add upstream patch OBS-URL: https://build.opensuse.org/request/show/794659 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/tracker?expand=0&rev=197
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
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
|
|
|