From f632a0c43a946766229c8b0fe13e2265b52bc784 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 3 Jan 2013 14:11:02 +0200 Subject: [PATCH] hostname: Prefer adapter_foreach over manager function --- plugins/hostname.c | 4 ++-- 1 file 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; } } -- 2.47.3