From fc1428d86b9f8a52b9e19d8cbe09408fdc76c7a2 Mon Sep 17 00:00:00 2001 From: Archie Pusaka Date: Wed, 15 Sep 2021 16:32:06 +0800 Subject: [PATCH] client: Inclusive language changes Use "parent" to describe dbus hierarchy. Signed-off-by: Marcel Holtmann Signed-off-by: Anuj Jain Signed-off-by: Ayush Garg --- client/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/main.c b/client/main.c index 4ad914d..7a61f55 100644 --- a/client/main.c +++ b/client/main.c @@ -386,19 +386,19 @@ static void print_experimental(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.7.4