pidgin/plugins/gtkbuddynote.c

branch
release-2.2.1
changeset 20095
c3c62efefdd0
parent 19859
71d37b57eff2
child 20288
5ca925a094e2
equal deleted inserted replaced
20094:4333b4be47ca 20095:c3c62efefdd0
29 { 29 {
30 if (full) { 30 if (full) {
31 const gchar *note = purple_blist_node_get_string(node, "notes"); 31 const gchar *note = purple_blist_node_get_string(node, "notes");
32 32
33 if ((note != NULL) && (*note != '\0')) { 33 if ((note != NULL) && (*note != '\0')) {
34 char *tmp;
35 purple_markup_html_to_xhtml(note, NULL, &tmp);
34 g_string_append_printf(text, _("\n<b>Buddy Note</b>: %s"), 36 g_string_append_printf(text, _("\n<b>Buddy Note</b>: %s"),
35 note); 37 tmp);
38 g_free(tmp);
36 } 39 }
37 } 40 }
38 } 41 }
39 42
40 static gboolean 43 static gboolean

mercurial