diff options
author | Dan Winship <danw@redhat.com> | 2015-03-27 08:45:35 -0400 |
---|---|---|
committer | Dan Winship <danw@redhat.com> | 2015-04-03 16:58:40 -0400 |
commit | 9926ba376ab65ade5ebb3d6bf0b2bb493c385562 (patch) | |
tree | 32d0729f54ff9a9cde0fb8bb7c919c3f3156ae00 /src/devices/bluetooth/nm-bluez-manager.c | |
parent | 9668bfd682dd3439e8b6b9ad249c3e2a8b95dbe2 (diff) | |
download | NetworkManager-9926ba376ab65ade5ebb3d6bf0b2bb493c385562.tar.gz |
libnm, core: use typechecked proxy_call methods
Diffstat (limited to 'src/devices/bluetooth/nm-bluez-manager.c')
-rw-r--r-- | src/devices/bluetooth/nm-bluez-manager.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/devices/bluetooth/nm-bluez-manager.c b/src/devices/bluetooth/nm-bluez-manager.c index e176a4b462..6b0de9949a 100644 --- a/src/devices/bluetooth/nm-bluez-manager.c +++ b/src/devices/bluetooth/nm-bluez-manager.c @@ -35,8 +35,7 @@ #include "nm-bluez-common.h" #include "nm-connection-provider.h" #include "nm-device-bt.h" - -#include "nm-dbus-manager.h" +#include "nm-core-internal.h" typedef struct { int bluez_version; @@ -276,8 +275,8 @@ check_bluez_and_try_setup_do_introspect (GObject *source_object, g_clear_object (&priv->async_cancellable); - result = g_dbus_proxy_call_finish (priv->introspect_proxy, res, &error); - + result = _nm_dbus_proxy_call_finish (priv->introspect_proxy, res, + G_VARIANT_TYPE ("(s)"), &error); if (!result) { char *reason2 = g_strdup_printf ("introspect failed with %s", error->message); check_bluez_and_try_setup_final_step (self, 0, reason2); |