summaryrefslogtreecommitdiff
path: root/lib/bluetooth-client.h
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2009-06-09 21:21:40 +0100
committerBastien Nocera <hadess@hadess.net>2009-06-09 21:21:40 +0100
commit5ee34a9e33f1215d955a2f7b4169595f032e6575 (patch)
tree5df420838278d6ebd48c8aa067d6f39dc4bbe8e6 /lib/bluetooth-client.h
parentce6e7127aa58c95efd72151925c8a23f83bd92de (diff)
downloadgnome-bluetooth-5ee34a9e33f1215d955a2f7b4169595f032e6575.tar.gz
Bug 585203 – BluetoothClientConnectFunc should pass BluetoothClient
Pass BluetoothClient as the first arguments to the callbacks for the connect, disconnect and create_device functions.
Diffstat (limited to 'lib/bluetooth-client.h')
-rw-r--r--lib/bluetooth-client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bluetooth-client.h b/lib/bluetooth-client.h
index 70f3ee5b..d0198eeb 100644
--- a/lib/bluetooth-client.h
+++ b/lib/bluetooth-client.h
@@ -94,7 +94,7 @@ DBusGProxy *bluetooth_client_get_default_adapter(BluetoothClient *client);
gboolean bluetooth_client_start_discovery(BluetoothClient *client);
gboolean bluetooth_client_stop_discovery(BluetoothClient *client);
-typedef void (*BluetoothClientCreateDeviceFunc) (const char *path, gpointer data);
+typedef void (*BluetoothClientCreateDeviceFunc) (BluetoothClient *client, const char *path, gpointer data);
gboolean bluetooth_client_create_device(BluetoothClient *client,
const char *address, const char *agent,
@@ -103,7 +103,7 @@ gboolean bluetooth_client_create_device(BluetoothClient *client,
gboolean bluetooth_client_set_trusted(BluetoothClient *client,
const char *device, gboolean trusted);
-typedef void (*BluetoothClientConnectFunc) (gpointer data);
+typedef void (*BluetoothClientConnectFunc) (BluetoothClient *client, gpointer data);
gboolean bluetooth_client_connect_service(BluetoothClient *client,
const char *device,