From: Samuel Ortiz Date: Tue, 28 Sep 2010 10:43:07 +0000 (+0200) Subject: RemoveProvider argument is an object path X-Git-Tag: 0.62~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=48e032dca7031a316088a26643dd49a87fce7879;p=platform%2Fupstream%2Fconnman.git RemoveProvider argument is an object path --- 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 },