client: Inclusive language changes
authorArchie Pusaka <apusaka@chromium.org>
Wed, 15 Sep 2021 08:32:06 +0000 (16:32 +0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:37 +0000 (19:08 +0530)
Use "parent" to describe dbus hierarchy.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
client/main.c

index 4ad914d..7a61f55 100644 (file)
@@ -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;