summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-02-25 15:05:18 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2009-02-25 15:05:18 +0200
commitf9b3cafb55f4cc9e7ea98bc3da98daca25598afb (patch)
treec4b55db9835f5971ff4e46365d94dd81bc3420a4
parent2f3ccc305172436b6cf4e5894fc8d196afea1447 (diff)
Remove unnecessary g_io_channel_set_close_on_unref call
-rw-r--r--audio/control.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/audio/control.c b/audio/control.c
index c11151e2..40578373 100644
--- a/audio/control.c
+++ b/audio/control.c
@@ -643,8 +643,6 @@ static void avctp_connect_cb(GIOChannel *chan, GError *err, gpointer data)
debug("AVCTP: connected to %s", address);
- g_io_channel_set_close_on_unref(chan, FALSE);
-
if (!session->io)
session->io = g_io_channel_ref(chan);