From 97c341e089aa88ea9533dbe2e9b4eb187d412321 Mon Sep 17 00:00:00 2001 From: Geoffrey Thomas Date: Fri, 1 Aug 2014 17:30:54 -0700 Subject: [PATCH] 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 Signed-off-by: Thomas Haller (cherry picked from commit 5c31ed880d45ebfaae75f68d1af41bf9a9866d31) --- src/supplicant-manager/nm-supplicant-interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/supplicant-manager/nm-supplicant-interface.c b/src/supplicant-manager/nm-supplicant-interface.c index 15138dc813..2bfc400b49 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);