telepathy-mission-control: _mcd_connection_channel_is_urgent: remove, unused

Simon McVittie smcv at kemper.freedesktop.org
Thu May 10 08:15:15 PDT 2012


Module: telepathy-mission-control
Branch: master
Commit: 8256dd642f79c8a35a1ae4f4aa5e9f5f17e1f54d
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=8256dd642f79c8a35a1ae4f4aa5e9f5f17e1f54d

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Tue May  8 13:31:55 2012 +0100

_mcd_connection_channel_is_urgent: remove, unused

---

 src/mcd-connection-priv.h |    3 ---
 src/mcd-connection.c      |   24 ------------------------
 2 files changed, 0 insertions(+), 27 deletions(-)

diff --git a/src/mcd-connection-priv.h b/src/mcd-connection-priv.h
index 8860e29..4aefa63 100644
--- a/src/mcd-connection-priv.h
+++ b/src/mcd-connection-priv.h
@@ -72,9 +72,6 @@ G_GNUC_INTERNAL gboolean _mcd_connection_target_id_is_urgent (McdConnection *con
 G_GNUC_INTERNAL gboolean _mcd_connection_target_handle_is_urgent (McdConnection *self,
     guint handle);
 
-G_GNUC_INTERNAL gboolean _mcd_connection_channel_is_urgent (McdConnection *self,
-    McdChannel *channel);
-
 G_END_DECLS
 
 #endif
diff --git a/src/mcd-connection.c b/src/mcd-connection.c
index 133f04c..481758d 100644
--- a/src/mcd-connection.c
+++ b/src/mcd-connection.c
@@ -2259,30 +2259,6 @@ _mcd_connection_target_handle_is_urgent (McdConnection *self, guint handle)
   return FALSE;
 }
 
-gboolean
-_mcd_connection_channel_is_urgent (McdConnection *self, McdChannel *channel)
-{
-    const gchar *name = NULL;
-
-    if (mcd_channel_get_handle_type (channel) != TP_HANDLE_TYPE_CONTACT)
-        return FALSE;
-
-    name = mcd_channel_get_name (channel);
-
-    if (tp_str_empty (name))
-    {
-        TpHandle handle = mcd_channel_get_handle (channel);
-
-        return _mcd_connection_target_handle_is_urgent (self, handle);
-    }
-    else
-    {
-        return _mcd_connection_target_id_is_urgent (self, name);
-    }
-
-    return FALSE;
-}
-
 static gboolean
 _mcd_connection_request_channel (McdConnection *connection, McdChannel *channel)
 {



More information about the telepathy-commits mailing list