diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-01-20 14:43:59 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-01-20 14:43:59 +0000 |
commit | f2fdd9fee9109cb0fa7f37a26acd0b1eaf2f40f2 (patch) | |
tree | 1140b225e33ef166d7a256e7ad0efd3195161f57 /hcid/dbus-adapter.c | |
parent | 72c746b089906cafd0c10880aca3fbe78198054b (diff) |
Get rid of g_timeout_remove and g_io_remove_watch in favor for g_source_remove
Diffstat (limited to 'hcid/dbus-adapter.c')
-rw-r--r-- | hcid/dbus-adapter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus-adapter.c b/hcid/dbus-adapter.c index 50a28a57..8699499a 100644 --- a/hcid/dbus-adapter.c +++ b/hcid/dbus-adapter.c @@ -539,7 +539,7 @@ static DBusHandlerResult adapter_set_discoverable_to(DBusConnection *conn, return DBUS_HANDLER_RESULT_NEED_MEMORY; if (adapter->timeout_id) { - g_timeout_remove(adapter->timeout_id); + g_source_remove(adapter->timeout_id); adapter->timeout_id = 0; } |