From 6abb3d502b314ce901d5dbed83e2e4573fdbbf0b 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 --- 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 75450a0..0c84483 100644 --- a/src/supplicant-manager/nm-supplicant-interface.c +++ b/src/supplicant-manager/nm-supplicant-interface.c @@ -1229,7 +1229,7 @@ add_network_cb (DBusGProxy *proxy, DBusGProxyCall *call_id, gpointer user_data) add_blob_cb, blob_info, nm_supplicant_info_destroy, - DBUS_TYPE_STRING, name, + G_TYPE_STRING, name, DBUS_TYPE_G_UCHAR_ARRAY, blobs, G_TYPE_INVALID); nm_supplicant_info_set_call (blob_info, call); -- 1.7.10.4