aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-18 05:50:00 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-18 05:50:00 +0800
commita92c3b945d26bf8080adcda3286fbd7cb48de125 (patch)
tree864a2234845c70a00f62aa7cdfb743bafb91a34e /libempathy-gtk/empathy-chat.c
parentff728e13b1293c1a4ffa0bc5f772b544b5b780fd (diff)
downloadgsoc2013-empathy-a92c3b945d26bf8080adcda3286fbd7cb48de125.tar
gsoc2013-empathy-a92c3b945d26bf8080adcda3286fbd7cb48de125.tar.gz
gsoc2013-empathy-a92c3b945d26bf8080adcda3286fbd7cb48de125.tar.bz2
gsoc2013-empathy-a92c3b945d26bf8080adcda3286fbd7cb48de125.tar.lz
gsoc2013-empathy-a92c3b945d26bf8080adcda3286fbd7cb48de125.tar.xz
gsoc2013-empathy-a92c3b945d26bf8080adcda3286fbd7cb48de125.tar.zst
gsoc2013-empathy-a92c3b945d26bf8080adcda3286fbd7cb48de125.zip
Always set urgency hint on p2p chat windows when receiving a message.
svn path=/trunk/; revision=962
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r--libempathy-gtk/empathy-chat.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index cdddf2d6c..3810e209b 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -1754,6 +1754,20 @@ empathy_chat_get_remote_contact (EmpathyChat *chat)
return priv->remote_contact;
}
+guint
+empathy_chat_get_members_count (EmpathyChat *chat)
+{
+ EmpathyChatPriv *priv = GET_PRIV (chat);
+
+ g_return_val_if_fail (EMPATHY_IS_CHAT (chat), 0);
+
+ if (priv->tp_chat) {
+ return empathy_tp_chat_get_members_count (priv->tp_chat);
+ }
+
+ return 0;
+}
+
void
empathy_chat_clear (EmpathyChat *chat)
{