summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-11-22 18:06:30 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-11-22 18:06:54 +0200
commit3862e5642d1dfcab7a3090cfb1daed2544a7b04d (patch)
tree5fa7734a7c19651b55291b621f6c01ed29d08bae /network
parent0efeb75bfb6cb01f1dd6d94d2b88593e5dcf9bdf (diff)
Use correct property types for Device and UUID
Diffstat (limited to 'network')
-rw-r--r--network/connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/connection.c b/network/connection.c
index ed667086..1bb7bd92 100644
--- a/network/connection.c
+++ b/network/connection.c
@@ -252,10 +252,10 @@ static gboolean bnep_connect_cb(GIOChannel *chan, GIOCondition cond,
DBUS_TYPE_BOOLEAN, &connected);
emit_property_changed(connection, nc->peer->path,
NETWORK_PEER_INTERFACE, "Device",
- DBUS_TYPE_BOOLEAN, &pdev);
+ DBUS_TYPE_STRING, &pdev);
emit_property_changed(connection, nc->peer->path,
NETWORK_PEER_INTERFACE, "UUID",
- DBUS_TYPE_BOOLEAN, &uuid);
+ DBUS_TYPE_STRING, &uuid);
nc->state = CONNECTED;