[telepathy-gabble/master] Remove API from GabbleImChannel

Danielle Madeley danielle.madeley at collabora.co.uk
Fri Jan 15 08:30:44 PST 2010


---
 src/im-channel.c |   21 ---------------------
 src/im-channel.h |    5 -----
 2 files changed, 0 insertions(+), 26 deletions(-)

diff --git a/src/im-channel.c b/src/im-channel.c
index 996fce1..f4edc54 100644
--- a/src/im-channel.c
+++ b/src/im-channel.c
@@ -806,27 +806,6 @@ gabble_im_channel_get_handle (TpSvcChannel *iface,
       priv->handle);
 }
 
-TpHandle
-gabble_im_channel_local_get_handle (GabbleIMChannel *self)
-{
-  GabbleIMChannelPrivate *priv;
-
-  g_assert (GABBLE_IS_IM_CHANNEL (self)); /* ?? */
-  priv = self->priv;
-
-  return priv->handle;
-}
-
-GabbleConnection *
-gabble_im_channel_local_get_connection (GabbleIMChannel *self)
-{
-  GabbleIMChannelPrivate *priv;
-
-  g_assert (GABBLE_IS_IM_CHANNEL (self)); /* ?? */
-  priv = self->priv;
-
-  return priv->conn;
-}
 
 /**
  * gabble_im_channel_get_interfaces
diff --git a/src/im-channel.h b/src/im-channel.h
index e222982..2a2a2dc 100644
--- a/src/im-channel.h
+++ b/src/im-channel.h
@@ -27,8 +27,6 @@
 #include <telepathy-glib/enums.h>
 #include <telepathy-glib/message-mixin.h>
 
-#include "connection.h"
-
 G_BEGIN_DECLS
 
 typedef struct _GabbleIMChannel GabbleIMChannel;
@@ -80,9 +78,6 @@ void _gabble_im_channel_receive (GabbleIMChannel *chan,
 void _gabble_im_channel_state_receive (GabbleIMChannel *chan,
     TpChannelChatState state);
 
-TpHandle gabble_im_channel_local_get_handle (GabbleIMChannel *chan);
-GabbleConnection *gabble_im_channel_local_get_connection (GabbleIMChannel *self);
-
 G_END_DECLS
 
 #endif /* #ifndef __GABBLE_IM_CHANNEL_H__*/
-- 
1.5.6.5




More information about the telepathy-commits mailing list