Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | Upstream-Status: Backport |
| 2 | Signed-off-by: Peter A. Bigot <pab@pabigot.com> |
| 3 | |
| 4 | From 57170b311f1468330f4a9961dc0b3ac45f97bc13 Mon Sep 17 00:00:00 2001 |
| 5 | From: Gustavo Padovan <gustavo.padovan@collabora.co.uk> |
| 6 | Date: Sat, 30 Jun 2012 00:39:05 -0300 |
| 7 | Subject: [PATCH] network: fix network Connect() method parameters |
| 8 | |
| 9 | --- |
| 10 | network/connection.c | 4 +++- |
| 11 | 1 file changed, 3 insertions(+), 1 deletion(-) |
| 12 | |
| 13 | diff --git a/network/connection.c b/network/connection.c |
| 14 | index 544ec3a..59423a9 100644 |
| 15 | --- a/network/connection.c |
| 16 | +++ b/network/connection.c |
| 17 | @@ -554,7 +554,9 @@ static void path_unregister(void *data) |
| 18 | |
| 19 | static const GDBusMethodTable connection_methods[] = { |
| 20 | { GDBUS_ASYNC_METHOD("Connect", |
| 21 | - NULL, NULL, connection_connect) }, |
| 22 | + GDBUS_ARGS({"uuid", "s"}), |
| 23 | + GDBUS_ARGS({"interface", "s"}), |
| 24 | + connection_connect) }, |
| 25 | { GDBUS_METHOD("Disconnect", |
| 26 | NULL, NULL, connection_disconnect) }, |
| 27 | { GDBUS_METHOD("GetProperties", |
| 28 | -- |
| 29 | 1.7.9.5 |
| 30 | |