mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-07 13:08:10 +02:00
secret-agent: construct the dbus proxy for async agent with the correct bus name
The asynchronous secret agent initialization doesn't work at all due to a
rather silly typo. Oops.
While at it, fix a whitespace error too.
(cherry picked from commit 603daa5b25)
This commit is contained in:
parent
8998ce629d
commit
78ef571972
1 changed files with 2 additions and 2 deletions
|
|
@ -1118,7 +1118,7 @@ init_async_got_proxy (GObject *object, GAsyncResult *result, gpointer user_data)
|
||||||
|
|
||||||
if (priv->auto_register) {
|
if (priv->auto_register) {
|
||||||
nm_secret_agent_old_register_async (init_data->self, init_data->cancellable,
|
nm_secret_agent_old_register_async (init_data->self, init_data->cancellable,
|
||||||
init_async_registered, init_data);
|
init_async_registered, init_data);
|
||||||
} else
|
} else
|
||||||
init_async_complete (init_data, NULL);
|
init_async_complete (init_data, NULL);
|
||||||
}
|
}
|
||||||
|
|
@ -1139,7 +1139,7 @@ init_async_got_bus (GObject *initable, GAsyncResult *result, gpointer user_data)
|
||||||
nmdbus_agent_manager_proxy_new (priv->bus,
|
nmdbus_agent_manager_proxy_new (priv->bus,
|
||||||
G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES
|
G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES
|
||||||
| G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START,
|
| G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START,
|
||||||
NM_DBUS_INTERFACE_AGENT_MANAGER,
|
NM_DBUS_SERVICE,
|
||||||
NM_DBUS_PATH_AGENT_MANAGER,
|
NM_DBUS_PATH_AGENT_MANAGER,
|
||||||
init_data->cancellable,
|
init_data->cancellable,
|
||||||
init_async_got_proxy, init_data);
|
init_async_got_proxy, init_data);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue