|
|
19062e |
From 57170b311f1468330f4a9961dc0b3ac45f97bc13 Mon Sep 17 00:00:00 2001
|
|
|
19062e |
From: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
|
|
|
19062e |
Date: Sat, 30 Jun 2012 00:39:05 -0300
|
|
|
19062e |
Subject: [PATCH] network: fix network Connect() method parameters
|
|
|
19062e |
|
|
|
19062e |
---
|
|
|
19062e |
network/connection.c | 4 +++-
|
|
|
19062e |
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
19062e |
|
|
|
19062e |
diff --git a/network/connection.c b/network/connection.c
|
|
|
19062e |
index 544ec3a..59423a9 100644
|
|
|
19062e |
--- a/network/connection.c
|
|
|
19062e |
+++ b/network/connection.c
|
|
|
19062e |
@@ -554,7 +554,9 @@ static void path_unregister(void *data)
|
|
|
19062e |
|
|
|
19062e |
static const GDBusMethodTable connection_methods[] = {
|
|
|
19062e |
{ GDBUS_ASYNC_METHOD("Connect",
|
|
|
19062e |
- NULL, NULL, connection_connect) },
|
|
|
19062e |
+ GDBUS_ARGS({"uuid", "s"}),
|
|
|
19062e |
+ GDBUS_ARGS({"interface", "s"}),
|
|
|
19062e |
+ connection_connect) },
|
|
|
19062e |
{ GDBUS_METHOD("Disconnect",
|
|
|
19062e |
NULL, NULL, connection_disconnect) },
|
|
|
19062e |
{ GDBUS_METHOD("GetProperties",
|
|
|
19062e |
--
|
|
|
19062e |
1.8.0.1
|
|
|
19062e |
|