From 48e032dca7031a316088a26643dd49a87fce7879 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Tue, 28 Sep 2010 12:43:07 +0200 Subject: [PATCH] RemoveProvider argument is an object path --- src/manager.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/manager.c b/src/manager.c index e2c27d0..0f66560 100644 --- a/src/manager.c +++ b/src/manager.c @@ -204,8 +204,8 @@ static DBusMessage *remove_provider(DBusConnection *conn, DBG("conn %p", conn); - dbus_message_get_args(msg, NULL, DBUS_TYPE_STRING, &path, - DBUS_TYPE_INVALID); + dbus_message_get_args(msg, NULL, DBUS_TYPE_OBJECT_PATH, &path, + DBUS_TYPE_INVALID); err = __connman_provider_remove(path); if (err < 0) @@ -625,7 +625,7 @@ static GDBusMethodTable manager_methods[] = { { "GetState", "", "s", get_state }, { "CreateProfile", "s", "o", create_profile }, { "RemoveProfile", "o", "", remove_profile }, - { "RemoveProvider", "s", "", remove_provider }, + { "RemoveProvider", "o", "", remove_provider }, { "RequestScan", "s", "", request_scan }, { "EnableTechnology", "s", "", enable_technology, G_DBUS_METHOD_FLAG_ASYNC }, -- 2.7.4