aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-string-parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-string-parser.h')
-rw-r--r--libempathy-gtk/empathy-string-parser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-string-parser.h b/libempathy-gtk/empathy-string-parser.h
index aec741add..78a822652 100644
--- a/libempathy-gtk/empathy-string-parser.h
+++ b/libempathy-gtk/empathy-string-parser.h
@@ -82,6 +82,8 @@ empathy_string_replace_escaped (const gchar *text,
gpointer match_data,
gpointer user_data);
+/* Returns a new string with <a> html tag around links, and escape the rest.
+ * To be used with gtk_label_set_markup() for example */
gchar *
empathy_add_link_markup (const gchar *text);