chat: show unread message count in contact image

Renders a notification showing the number of unread chat messages
in the bottom right corner of the contact's image.

Messages which are printed to the chat view are automatically marked
as read.

The chat view now also only attempts to print text messages, rather
than messages of all mime types.

Tuleap: #203
Change-Id: I0592257c0f5bff9deb3110aec4ba483fddc95e02
diff --git a/src/utils/drawing.h b/src/utils/drawing.h
index fd0881d..284fca6 100644
--- a/src/utils/drawing.h
+++ b/src/utils/drawing.h
@@ -33,14 +33,12 @@
 
 #include <gtk/gtk.h>
 
-G_BEGIN_DECLS
-
 GdkPixbuf *ring_draw_fallback_avatar(int size);
 
 GdkPixbuf *ring_draw_conference_avatar(int size);
 
 GdkPixbuf *ring_frame_avatar(GdkPixbuf *avatar);
 
-G_END_DECLS
+GdkPixbuf *ring_draw_unread_messages(const GdkPixbuf *avatar, int unread_count);
 
 #endif /* _DRAWING */