summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-security.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/dbus-security.c')
-rw-r--r--hcid/dbus-security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus-security.c b/hcid/dbus-security.c
index 98ca1df5..0a283124 100644
--- a/hcid/dbus-security.c
+++ b/hcid/dbus-security.c
@@ -74,7 +74,7 @@ static void passkey_agent_free(struct passkey_agent *agent)
}
if (agent->timeout)
- g_timeout_remove(agent->timeout);
+ g_source_remove(agent->timeout);
if (!agent->exited)
release_agent(agent);