[Telepathy-commits] [telepathy-salut/master] tube-stream: remove listen_io_channel and listen_io_channel_source_id as we now use a GibberListener

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Mon Dec 15 05:02:29 PST 2008


---
 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 9eecb3d..a7ac861 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);
-- 
1.5.6.5



More information about the Telepathy-commits mailing list