bluez: Make use of g_io_channel_shutdown instead of deprecated g_io_channel_close.

This commit is contained in:
Luiz Augusto von Dentz 2009-02-19 15:58:15 -03:00 committed by Tim-Philipp Müller
parent 93c66d5008
commit 1f8330784a

View file

@ -143,8 +143,7 @@ gst_avdtp_sink_stop (GstBaseSink * basesink)
}
if (self->stream) {
g_io_channel_flush (self->stream, NULL);
g_io_channel_close (self->stream);
g_io_channel_shutdown (self->stream, TRUE, NULL);
g_io_channel_unref (self->stream);
self->stream = NULL;
}