OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c94d218
)
hostname: Prefer adapter_foreach over manager function
author
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 3 Jan 2013 12:11:02 +0000
(14:11 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 3 Jan 2013 12:11:02 +0000
(14:11 +0200)
plugins/hostname.c
patch
|
blob
|
history
diff --git
a/plugins/hostname.c
b/plugins/hostname.c
index
caf0579
..
c6c88c1
100644
(file)
--- 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;
}
}