mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-09 06:10:29 +01:00
libnm-glib: fix reply processing of AddConnection calls
It really is an object path, folks.
This commit is contained in:
parent
9637fbfd12
commit
fa48970b4e
1 changed files with 1 additions and 1 deletions
|
|
@ -451,7 +451,7 @@ add_connection_done (DBusGProxy *proxy, DBusGProxyCall *call, gpointer user_data
|
|||
GError *error = NULL;
|
||||
char *path = NULL;
|
||||
|
||||
if (dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &path, G_TYPE_INVALID)) {
|
||||
if (dbus_g_proxy_end_call (proxy, call, &error, DBUS_TYPE_G_OBJECT_PATH, &path, G_TYPE_INVALID)) {
|
||||
info->connection = new_connection_cb (proxy, path, info->self);
|
||||
g_assert (info->connection);
|
||||
/* Wait until this connection is fully initialized before calling the callback */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue