From f2fdd9fee9109cb0fa7f37a26acd0b1eaf2f40f2 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Sat, 20 Jan 2007 14:43:59 +0000 Subject: Get rid of g_timeout_remove and g_io_remove_watch in favor for g_source_remove --- hcid/security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hcid/security.c') diff --git a/hcid/security.c b/hcid/security.c index ca984852..e14b98e9 100644 --- a/hcid/security.c +++ b/hcid/security.c @@ -882,7 +882,7 @@ void stop_security_manager(int hdev) info("Stopping security manager %d", hdev); - g_io_remove_watch(io_data[hdev].watch_id); + g_source_remove(io_data[hdev].watch_id); g_io_channel_unref(io_data[hdev].channel); io_data[hdev].watch_id = -1; io_data[hdev].channel = NULL; -- cgit