mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
bluez5: fix glib signal disconnect
Disconnect glib signal in the right way, silencing a glib warning.
This commit is contained in:
parent
ea7781d7d0
commit
a8770d501c
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ static void on_interface_removed(GDBusObjectManager *manager, GDBusObject *objec
|
||||||
monitor, g_dbus_object_get_object_path(object), name ? name : "<null>");
|
monitor, g_dbus_object_get_object_path(object), name ? name : "<null>");
|
||||||
|
|
||||||
if (g_object_get_data(G_OBJECT(iface), "dbus-monitor-signals-connected")) {
|
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),
|
G_CALLBACK(on_g_properties_changed),
|
||||||
monitor, NULL);
|
monitor, NULL);
|
||||||
g_object_set_data(G_OBJECT(iface), "dbus-monitor-signals-connected", NULL);
|
g_object_set_data(G_OBJECT(iface), "dbus-monitor-signals-connected", NULL);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue