network-fix-network-Connect-method-parameters.patch 943 B

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