summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-02-02 10:20:59 -0800
committerMarcel Holtmann <marcel@holtmann.org>2010-02-02 10:20:59 -0800
commit5581e8d5b4d884214ecd4d18717002aa860bd63a (patch)
tree769d891ad689b38c54cfe711d1938ea8d2efeb48 /network
parent76dc6dc6194a7c8299dd04c2e1604e2f6fe69ea1 (diff)
Rename network "Device" to "Interface"
Diffstat (limited to 'network')
-rw-r--r--network/connection.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/network/connection.c b/network/connection.c
index 65871fa3d..3e52d2af9 100644
--- a/network/connection.c
+++ b/network/connection.c
@@ -157,7 +157,7 @@ static gboolean bnep_watchdog_cb(GIOChannel *chan, GIOCondition cond,
NETWORK_PEER_INTERFACE, "Connected",
DBUS_TYPE_BOOLEAN, &connected);
emit_property_changed(connection, nc->peer->path,
- NETWORK_PEER_INTERFACE, "Device",
+ NETWORK_PEER_INTERFACE, "Interface",
DBUS_TYPE_STRING, &property);
emit_property_changed(connection, nc->peer->path,
NETWORK_PEER_INTERFACE, "UUID",
@@ -302,7 +302,7 @@ static gboolean bnep_setup_cb(GIOChannel *chan, GIOCondition cond,
NETWORK_PEER_INTERFACE, "Connected",
DBUS_TYPE_BOOLEAN, &connected);
emit_property_changed(connection, nc->peer->path,
- NETWORK_PEER_INTERFACE, "Device",
+ NETWORK_PEER_INTERFACE, "Interface",
DBUS_TYPE_STRING, &pdev);
emit_property_changed(connection, nc->peer->path,
NETWORK_PEER_INTERFACE, "UUID",
@@ -502,9 +502,9 @@ static DBusMessage *connection_get_properties(DBusConnection *conn,
connected = nc ? TRUE : FALSE;
dict_append_entry(&dict, "Connected", DBUS_TYPE_BOOLEAN, &connected);
- /* Device */
+ /* Interface */
property = nc ? nc->dev : "";
- dict_append_entry(&dict, "Device", DBUS_TYPE_STRING, &property);
+ dict_append_entry(&dict, "Interface", DBUS_TYPE_STRING, &property);
/* UUID */
property = nc ? bnep_uuid(nc->id) : "";