mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Merge branch '2401-object-manager-warning' into 'main'
gdbusobjectmanagerclient: Don’t warn if removing an interface fails Closes #2401 See merge request GNOME/glib!2263
This commit is contained in:
commit
d099ac6ceb
@ -1689,11 +1689,11 @@ remove_interfaces (GDBusObjectManagerClient *manager,
|
||||
op = g_hash_table_lookup (manager->priv->map_object_path_to_object_proxy, object_path);
|
||||
if (op == NULL)
|
||||
{
|
||||
g_warning ("%s: Processing InterfaceRemoved signal for path %s but no object proxy exists",
|
||||
G_STRLOC,
|
||||
object_path);
|
||||
g_debug ("%s: Processing InterfaceRemoved signal for path %s but no object proxy exists",
|
||||
G_STRLOC,
|
||||
object_path);
|
||||
g_mutex_unlock (&manager->priv->lock);
|
||||
goto out;
|
||||
return;
|
||||
}
|
||||
|
||||
interfaces = g_dbus_object_get_interfaces (G_DBUS_OBJECT (op));
|
||||
@ -1730,8 +1730,6 @@ remove_interfaces (GDBusObjectManagerClient *manager,
|
||||
g_object_unref (op);
|
||||
}
|
||||
g_object_unref (manager);
|
||||
out:
|
||||
;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user