aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-12-27 02:22:04 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-12-29 21:01:01 +0800
commitd471250122f68adba8625fbc719614f927fa4103 (patch)
treead10d6d19e886ec85647717ff2252bc910d89748 /libempathy-gtk/empathy-chat.c
parentf49b34ee571c0894ab4e85af27479c288b0560c1 (diff)
downloadgsoc2013-empathy-d471250122f68adba8625fbc719614f927fa4103.tar
gsoc2013-empathy-d471250122f68adba8625fbc719614f927fa4103.tar.gz
gsoc2013-empathy-d471250122f68adba8625fbc719614f927fa4103.tar.bz2
gsoc2013-empathy-d471250122f68adba8625fbc719614f927fa4103.tar.lz
gsoc2013-empathy-d471250122f68adba8625fbc719614f927fa4103.tar.xz
gsoc2013-empathy-d471250122f68adba8625fbc719614f927fa4103.tar.zst
gsoc2013-empathy-d471250122f68adba8625fbc719614f927fa4103.zip
Remove the composing list
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r--libempathy-gtk/empathy-chat.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 295615413..36b0896d9 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -3429,3 +3429,10 @@ empathy_chat_messages_read (EmpathyChat *self)
}
priv->unread_messages = 0;
}
+
+/* Return TRUE if on of the contacts in this chat is composing */
+gboolean
+empathy_chat_is_composing (EmpathyChat *chat)
+{
+ return chat->priv->compositors != NULL;
+}