summaryrefslogtreecommitdiff
path: root/plugins/hostname.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2013-01-03 14:11:02 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2013-01-03 14:11:02 +0200
commitf632a0c43a946766229c8b0fe13e2265b52bc784 (patch)
treec97cff5036bb55d436429ced20676b2b01568c94 /plugins/hostname.c
parentc94d218108842205aa9595d6fe296cd322a52a4c (diff)
downloadbluez-f632a0c43a946766229c8b0fe13e2265b52bc784.tar.gz
hostname: Prefer adapter_foreach over manager function
Diffstat (limited to 'plugins/hostname.c')
-rw-r--r--plugins/hostname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/hostname.c b/plugins/hostname.c
index caf05794e..c6c88c157 100644
--- a/plugins/hostname.c
+++ b/plugins/hostname.c
@@ -124,7 +124,7 @@ static void property_changed(GDBusProxy *proxy, const char *name,
g_free(pretty_hostname);
pretty_hostname = g_strdup(str);
- manager_foreach_adapter(update_name, NULL);
+ adapter_foreach(update_name, NULL);
}
} else if (g_str_equal(name, "Chassis") == TRUE) {
if (iter == NULL) {
@@ -147,7 +147,7 @@ static void property_changed(GDBusProxy *proxy, const char *name,
major_class = chassis_table[i].major_class;
minor_class = chassis_table[i].minor_class;
- manager_foreach_adapter(update_class, NULL);
+ adapter_foreach(update_class, NULL);
break;
}
}