diff options
author | Geoffrey Thomas <gthomas@mokafive.com> | 2014-08-01 17:30:54 -0700 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-08-04 14:59:03 +0200 |
commit | 5c31ed880d45ebfaae75f68d1af41bf9a9866d31 (patch) | |
tree | 96393d3801656627c74d2eba536e4f1f5a136f1c | |
parent | 536029a96d7c120fb3ee99481ed299eedb37d586 (diff) | |
download | NetworkManager-5c31ed880d45ebfaae75f68d1af41bf9a9866d31.tar.gz |
supplicant: fix invalid parameter type in AddBlob D-Bus call
Types passed to dbus-glib need to be GTypes, not D-Bus type. While the
DBUS_TYPE_G_* macros are GTypes from libdbus-glib, the other DBUS_ types
aren't.
Signed-off-by: Geoffrey Thomas <gthomas@mokafive.com>
Signed-off-by: Thomas Haller <thaller@redhat.com>
-rw-r--r-- | src/supplicant-manager/nm-supplicant-interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supplicant-manager/nm-supplicant-interface.c b/src/supplicant-manager/nm-supplicant-interface.c index ff0806fe17..2df5d8d3b3 100644 --- a/src/supplicant-manager/nm-supplicant-interface.c +++ b/src/supplicant-manager/nm-supplicant-interface.c @@ -1080,7 +1080,7 @@ add_network_cb (DBusGProxy *proxy, DBusGProxyCall *call_id, gpointer user_data) add_blob_cb, self, NULL, - DBUS_TYPE_STRING, name, + G_TYPE_STRING, name, DBUS_TYPE_G_UCHAR_ARRAY, data, G_TYPE_INVALID); nm_call_store_add (priv->assoc_pcalls, priv->iface_proxy, call); |