[gnome-bluetooth/wip/hadess/services-removal-fix] lib: Fix refcounting assertion
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/wip/hadess/services-removal-fix] lib: Fix refcounting assertion
- Date: Tue, 30 Nov 2021 10:03:53 +0000 (UTC)
commit 33bf84ef8c7c9043077898cf4e6e82c786c6da57
Author: Bastien Nocera <hadess hadess net>
Date: Tue Nov 30 11:01:18 2021 +0100
lib: Fix refcounting assertion
bf5ce87a0e91ad3d4a41c11ab92909c07d4f6ca8 removed the SERVICES column
enum member, but kept a column for it in the internal tree store.
Hilarity ensued when the arrays of strings in the UUIDs column were
stashed where a hashtable should have been.
Fixes: bf5ce87a0e91ad3d4a41c11ab92909c07d4f6ca8
lib/bluetooth-client.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/lib/bluetooth-client.c b/lib/bluetooth-client.c
index 398ec16c..d4883cea 100644
--- a/lib/bluetooth-client.c
+++ b/lib/bluetooth-client.c
@@ -904,7 +904,6 @@ static void bluetooth_client_init(BluetoothClient *client)
G_TYPE_BOOLEAN, /* BLUETOOTH_COLUMN_DISCOVERING */
G_TYPE_INT, /* BLUETOOTH_COLUMN_LEGACYPAIRING */
G_TYPE_BOOLEAN, /* BLUETOOTH_COLUMN_POWERED */
- G_TYPE_HASH_TABLE, /* BLUETOOTH_COLUMN_SERVICES */
G_TYPE_STRV); /* BLUETOOTH_COLUMN_UUIDS */
g_dbus_object_manager_client_new_for_bus (G_BUS_TYPE_SYSTEM,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]