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>
This commit is contained in:
Geoffrey Thomas 2014-08-01 17:30:54 -07:00 committed by Thomas Haller
parent 536029a96d
commit 5c31ed880d

View file

@ -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);