[gnome-bluetooth/wip/hadess/remove-obsolete-defs] lib: Remove remnants of older _setup_device()
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/wip/hadess/remove-obsolete-defs] lib: Remove remnants of older _setup_device()
- Date: Mon, 6 Dec 2021 11:41:36 +0000 (UTC)
commit b86f9fb7d3cda3a2a723a0196326dfb53ea506de
Author: Bastien Nocera <hadess hadess net>
Date: Mon Dec 6 12:31:04 2021 +0100
lib: Remove remnants of older _setup_device()
_setup_device() was ported to a GIO-style function in commit
162d9fea90b664ddd822c6167065a93218a04829 but there were bits left
around.
lib/bluetooth-client-private.h | 4 ----
lib/bluetooth-client.c | 5 -----
2 files changed, 9 deletions(-)
---
diff --git a/lib/bluetooth-client-private.h b/lib/bluetooth-client-private.h
index 1c44b4db..e83ea3d1 100644
--- a/lib/bluetooth-client-private.h
+++ b/lib/bluetooth-client-private.h
@@ -28,10 +28,6 @@
#include <bluetooth-device.h>
#include <bluetooth-enums.h>
-typedef void (*BluetoothClientSetupFunc) (BluetoothClient *client,
- const GError *error,
- const char *device_path);
-
void bluetooth_client_setup_device (BluetoothClient *client,
const char *path,
gboolean pair,
diff --git a/lib/bluetooth-client.c b/lib/bluetooth-client.c
index 058463a2..d6b5e7b6 100644
--- a/lib/bluetooth-client.c
+++ b/lib/bluetooth-client.c
@@ -994,11 +994,6 @@ bluetooth_client_get_devices (BluetoothClient *client)
return G_LIST_STORE (g_object_ref (client->list_store));
}
-typedef struct {
- BluetoothClientSetupFunc func;
- BluetoothClient *client;
-} CreateDeviceData;
-
static void
device_pair_callback (GDBusProxy *proxy,
GAsyncResult *res,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]