summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-09-05 16:12:21 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-09-05 16:12:21 +0300
commit63155e6a90748fbfd1e019041d91796a94712c48 (patch)
tree58d92a07599939cf3ffeb15587e9322c97b79895 /plugins
parent7e549a90251c90ae0ff659ae5bef3aa58f843702 (diff)
Make RequestAuthorization always return a positive reply for now
Diffstat (limited to 'plugins')
-rw-r--r--plugins/service.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/service.c b/plugins/service.c
index 4ec8cca0..97b35e64 100644
--- a/plugins/service.c
+++ b/plugins/service.c
@@ -491,7 +491,7 @@ static DBusMessage *request_authorization(DBusConnection *conn,
{
/* FIXME implement the request */
- return NULL;
+ return dbus_message_new_method_return(msg);
}
static DBusMessage *cancel_authorization(DBusConnection *conn,
@@ -506,8 +506,7 @@ static GDBusMethodTable service_methods[] = {
{ "AddRecord", "s", "u", add_service_record },
{ "UpdateRecord", "us", "", update_service_record },
{ "RemoveRecord", "u", "", remove_service_record },
- { "RequestAuthorization","su", "", request_authorization,
- G_DBUS_METHOD_FLAG_ASYNC},
+ { "RequestAuthorization","su", "", request_authorization },
{ "CancelAuthorization", "", "", cancel_authorization },
{ }
};