diff options
author | Bastien Nocera <hadess@hadess.net> | 2009-07-12 01:27:27 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2009-07-15 10:45:20 +0100 |
commit | da70a4043554cedc60132ca1ef22eeee990ddf35 (patch) | |
tree | 203bf1f0c16640a485d18e12bb7a4926ab1b7f10 /lib/bluetooth-client-private.h | |
parent | 4b3435e86c969f5f4094b8838a4bee7e933ca362 (diff) | |
download | gnome-bluetooth-da70a4043554cedc60132ca1ef22eeee990ddf35.tar.gz |
Export the error from a CreatePairedDevice call
So that the front-end can show a nice error to the user.
Diffstat (limited to 'lib/bluetooth-client-private.h')
-rw-r--r-- | lib/bluetooth-client-private.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/bluetooth-client-private.h b/lib/bluetooth-client-private.h index 5c0ea754..63f292e9 100644 --- a/lib/bluetooth-client-private.h +++ b/lib/bluetooth-client-private.h @@ -36,7 +36,10 @@ 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) (BluetoothClient *client, const char *path, gpointer data); +typedef void (*BluetoothClientCreateDeviceFunc) (BluetoothClient *client, + const char *path, + const GError *error, + gpointer data); gboolean bluetooth_client_create_device(BluetoothClient *client, const char *address, const char *agent, |