[gnome-bluetooth] lib: Remove unused "path" argument when pairing
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] lib: Remove unused "path" argument when pairing
- Date: Fri, 6 Dec 2013 11:03:51 +0000 (UTC)
commit 99bc81a73eb628b0f086df138908083b8e0cd2ba
Author: Bastien Nocera <hadess hadess net>
Date: Tue Dec 3 16:37:05 2013 +0100
lib: Remove unused "path" argument when pairing
lib/bluetooth-client-private.h | 1 -
lib/bluetooth-client.c | 1 -
wizard/main.c | 3 +--
3 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/lib/bluetooth-client-private.h b/lib/bluetooth-client-private.h
index b7a9795..f7742c9 100644
--- a/lib/bluetooth-client-private.h
+++ b/lib/bluetooth-client-private.h
@@ -36,7 +36,6 @@ typedef void (*BluetoothClientSetupFunc) (BluetoothClient *client,
gboolean bluetooth_client_setup_device (BluetoothClient *client,
const char *device_path,
- const char *agent,
BluetoothClientSetupFunc func,
gboolean pair);
diff --git a/lib/bluetooth-client.c b/lib/bluetooth-client.c
index 1444305..2ef7a43 100644
--- a/lib/bluetooth-client.c
+++ b/lib/bluetooth-client.c
@@ -1410,7 +1410,6 @@ device_pair_callback (GDBusProxy *proxy,
gboolean
bluetooth_client_setup_device (BluetoothClient *client,
const char *path,
- const char *agent,
BluetoothClientSetupFunc func,
gboolean pair)
{
diff --git a/wizard/main.c b/wizard/main.c
index 74e88e8..ce1649e 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -647,7 +647,7 @@ void prepare_callback (GtkWidget *assistant,
}
if (page == page_connecting && create_started == FALSE) {
- const char *device, *path = AGENT_PATH;
+ const char *device;
char *text;
GValue value = { 0, };
GDBusProxy *proxy;
@@ -698,7 +698,6 @@ void prepare_callback (GtkWidget *assistant,
bluetooth_client_setup_device (client,
device,
- path,
create_callback,
pair);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]