2021-09-02 10:56:12

by Archie Pusaka

[permalink] [raw]
Subject: [Bluez PATCH v3 09/12] client: Inclusive language changes

From: Archie Pusaka <[email protected]>

Use "parent" to describe dbus hierarchy.
---

(no changes since v1)

client/main.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/client/main.c b/client/main.c
index 506602bbdb..b70cf1a186 100644
--- a/client/main.c
+++ b/client/main.c
@@ -365,19 +365,19 @@ static void print_uuids(GDBusProxy *proxy)
}
}

-static gboolean device_is_child(GDBusProxy *device, GDBusProxy *master)
+static gboolean device_is_child(GDBusProxy *device, GDBusProxy *parent)
{
DBusMessageIter iter;
const char *adapter, *path;

- if (!master)
+ if (!parent)
return FALSE;

if (g_dbus_proxy_get_property(device, "Adapter", &iter) == FALSE)
return FALSE;

dbus_message_iter_get_basic(&iter, &adapter);
- path = g_dbus_proxy_get_path(master);
+ path = g_dbus_proxy_get_path(parent);

if (!strcmp(path, adapter))
return TRUE;
--
2.33.0.259.gc128427fd7-goog