#include <time.h>
#include <glib.h>
#include <gdk/gdkcolor.h>
+#include <gtk/gtktextbuffer.h>
#define _FM(str) dgettext("hildon-fm",str)
#define _CS(str) dgettext("hildon-common-strings",str)
*/
gchar * modest_text_utils_get_color_string (GdkColor *color);
+/**
+ * modest_text_utils_text_buffer_get_text:
+ * @buffer: a #GtkTextBuffer
+ *
+ * Obtains the contents of a @buffer in a string, replacing image
+ * pixbufs with blank spaces.
+ *
+ * Returns: a newly allocated UTF-8 string
+ */
+gchar * modest_text_utils_text_buffer_get_text (GtkTextBuffer *buffer);
+
#endif /* __MODEST_TEXT_UTILS_H__ */