diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2008-12-15 13:02:29 +0000 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2008-12-15 13:02:29 +0000 |
commit | 932bec4bbf45fc114907c8734dbe35b11ac5bd8c (patch) | |
tree | 8eb3771f785ca1049c5ce9f837be9f9162bf8c88 /src/tube-stream.c | |
parent | 4d22af397553bbe2ea4210ff2cacc5c4df3e0d03 (diff) | |
download | telepathy-salut-932bec4bbf45fc114907c8734dbe35b11ac5bd8c.tar.gz |
tube-stream: remove listen_io_channel and listen_io_channel_source_id as we now use a GibberListener
Diffstat (limited to 'src/tube-stream.c')
-rw-r--r-- | src/tube-stream.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/tube-stream.c b/src/tube-stream.c index 9eecb3d5..a7ac8612 100644 --- a/src/tube-stream.c +++ b/src/tube-stream.c @@ -158,8 +158,6 @@ struct _SalutTubeStreamPrivate /* listen for connections from local applications */ GibberListener *local_listener; - GIOChannel *listen_io_channel; - guint listen_io_channel_source_id; /* listen for connections from the remote CM */ GibberListener *contact_listener; @@ -808,8 +806,6 @@ salut_tube_stream_init (SalutTubeStream *self) g_direct_equal, (GDestroyNotify) g_object_unref, (GDestroyNotify) g_object_unref); - priv->listen_io_channel = NULL; - priv->listen_io_channel_source_id = 0; priv->address_type = TP_SOCKET_ADDRESS_TYPE_UNIX; priv->address = NULL; priv->access_control = TP_SOCKET_ACCESS_CONTROL_LOCALHOST; @@ -893,19 +889,6 @@ salut_tube_stream_dispose (GObject *object) tp_handle_unref (contact_repo, priv->initiator); - if (priv->listen_io_channel_source_id != 0) - { - g_source_destroy (g_main_context_find_source_by_id (NULL, - priv->listen_io_channel_source_id)); - priv->listen_io_channel_source_id = 0; - } - - if (priv->listen_io_channel) - { - g_io_channel_unref (priv->listen_io_channel); - priv->listen_io_channel = NULL; - } - if (priv->local_listener != NULL) { g_object_unref (priv->local_listener); |