From fa48970b4e9f496ca75629db6a6d4fc1b97a1122 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 10 Mar 2011 02:03:25 -0600 Subject: [PATCH] libnm-glib: fix reply processing of AddConnection calls It really is an object path, folks. --- libnm-glib/nm-remote-settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnm-glib/nm-remote-settings.c b/libnm-glib/nm-remote-settings.c index 21b2598320..876628ccd5 100644 --- a/libnm-glib/nm-remote-settings.c +++ b/libnm-glib/nm-remote-settings.c @@ -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 */