diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-06-03 15:00:06 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-06-03 15:00:06 +0000 |
commit | 00f4c9a6e1e5cc7e3fed0651d61a1278c93c2984 (patch) | |
tree | b2b9a23a126ffcaf6284da496cb5bb596c5081ad | |
parent | 67534ccbca78a9f3d8e0f55b993e810ded95c447 (diff) |
Replace destroy method with proper unregister version
-rw-r--r-- | serial/port.c | 2 |
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; } |