summaryrefslogtreecommitdiffstats
path: root/serial/port.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-06-03 15:00:06 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-06-03 15:00:06 +0000
commit00f4c9a6e1e5cc7e3fed0651d61a1278c93c2984 (patch)
treeb2b9a23a126ffcaf6284da496cb5bb596c5081ad /serial/port.c
parent67534ccbca78a9f3d8e0f55b993e810ded95c447 (diff)
Replace destroy method with proper unregister version
Diffstat (limited to 'serial/port.c')
-rw-r--r--serial/port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/serial/port.c b/serial/port.c
index 311d38f0..c722dde4 100644
--- a/serial/port.c
+++ b/serial/port.c
@@ -395,7 +395,7 @@ int port_unregister(const char *path)
if (!node)
return -ENOENT;
- dbus_connection_destroy_object_path(node->conn, path);
+ g_dbus_unregister_interface(node->conn, path, SERIAL_PORT_INTERFACE);
return 0;
}