From c4c2f40df0f7d41ecfd48596b4d0c585240f7cf0 Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Fri, 5 Sep 2008 16:56:15 -0300 Subject: Network: removed unused function --- network/connection.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'network/connection.c') diff --git a/network/connection.c b/network/connection.c index 16d3e383..b8f029e1 100644 --- a/network/connection.c +++ b/network/connection.c @@ -123,12 +123,6 @@ static inline DBusMessage *not_connected(DBusMessage *msg) "Device not connected"); } -static inline DBusMessage *no_pending_connect(DBusMessage *msg) -{ - return g_dbus_create_error(msg, ERROR_INTERFACE ".Failed", - "Device has no pending connect"); -} - static inline DBusMessage *connection_attempt_failed(DBusMessage *msg, int err) { return g_dbus_create_error(msg, ERROR_INTERFACE ".ConnectionAttemptFailed", -- cgit From b326ad96e35e4abcd0466a82e5c92c727c8cc2af Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 6 Sep 2008 01:39:37 +0200 Subject: Fix D-Bus API for serial and network plugins --- network/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'network/connection.c') diff --git a/network/connection.c b/network/connection.c index b8f029e1..c17950bc 100644 --- a/network/connection.c +++ b/network/connection.c @@ -44,7 +44,7 @@ #include "error.h" #include "common.h" -#define NETWORK_PEER_INTERFACE "org.bluez.network.Peer" +#define NETWORK_PEER_INTERFACE "org.bluez.Network" typedef enum { CONNECTED, -- cgit