[tracker/wip/ricotz/dbus-signal-callback] tracker-store: Use correct signature for DBusSignalCallback



commit 80baef2cf30e6936dd989a149bf2ce2bdd2ae36c
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Apr 7 16:51:30 2020 +0200

    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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]