From a8770d501c55fd5b59314ad199c00856367b00b6 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Fri, 14 Apr 2023 20:03:36 +0300 Subject: [PATCH] bluez5: fix glib signal disconnect Disconnect glib signal in the right way, silencing a glib warning. --- spa/plugins/bluez5/dbus-monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/bluez5/dbus-monitor.c b/spa/plugins/bluez5/dbus-monitor.c index d7bc19475..2199c9c39 100644 --- a/spa/plugins/bluez5/dbus-monitor.c +++ b/spa/plugins/bluez5/dbus-monitor.c @@ -75,7 +75,7 @@ static void on_interface_removed(GDBusObjectManager *manager, GDBusObject *objec monitor, g_dbus_object_get_object_path(object), name ? name : ""); if (g_object_get_data(G_OBJECT(iface), "dbus-monitor-signals-connected")) { - g_object_disconnect(G_OBJECT(iface), "g-properties-changed", + g_object_disconnect(G_OBJECT(iface), "any_signal", G_CALLBACK(on_g_properties_changed), monitor, NULL); g_object_set_data(G_OBJECT(iface), "dbus-monitor-signals-connected", NULL);