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-rfcomm.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-rfcomm.c')
-rw-r--r-- | hcid/dbus-rfcomm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus-rfcomm.c b/hcid/dbus-rfcomm.c index 5a893898..515a55aa 100644 --- a/hcid/dbus-rfcomm.c +++ b/hcid/dbus-rfcomm.c @@ -102,7 +102,7 @@ static void rfcomm_node_free(struct rfcomm_node *node) if (node->owner) free(node->owner); if (node->io) { - g_io_remove_watch(node->io_id); + g_source_remove(node->io_id); g_io_channel_unref(node->io); } if (node->conn) |