diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2010-12-27 02:22:04 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2010-12-29 21:01:01 +0800 |
commit | d471250122f68adba8625fbc719614f927fa4103 (patch) | |
tree | ad10d6d19e886ec85647717ff2252bc910d89748 /libempathy-gtk | |
parent | f49b34ee571c0894ab4e85af27479c288b0560c1 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 7 | ||||
-rw-r--r-- | libempathy-gtk/empathy-chat.h | 2 |
2 files changed, 9 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; +} diff --git a/libempathy-gtk/empathy-chat.h b/libempathy-gtk/empathy-chat.h index 596b83f5d..01b7a737b 100644 --- a/libempathy-gtk/empathy-chat.h +++ b/libempathy-gtk/empathy-chat.h @@ -89,6 +89,8 @@ void empathy_chat_set_show_contacts (EmpathyChat *chat, guint empathy_chat_get_nb_unread_messages (EmpathyChat *chat); void empathy_chat_messages_read (EmpathyChat *self); + +gboolean empathy_chat_is_composing (EmpathyChat *chat); G_END_DECLS #endif /* __EMPATHY_CHAT_H__ */ |