changeset 12940:b25f48c9f6d7

[gaim-migrate @ 15293] Let's let Pango figure out how big the string is. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 19 Jan 2006 06:52:16 +0000
parents 7f633dd625a9
children 586f2b04e0c5
files src/gtkblist.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkblist.c	Thu Jan 19 06:30:09 2006 +0000
+++ b/src/gtkblist.c	Thu Jan 19 06:52:16 2006 +0000
@@ -2086,7 +2086,7 @@
 	td->avatar = gaim_gtk_blist_get_buddy_icon(node, FALSE, FALSE);
 	tooltip_text = gaim_get_tooltip_text(node, full);
 	td->layout = gtk_widget_create_pango_layout(gtkblist->tipwindow, NULL);
-	pango_layout_set_markup(td->layout, tooltip_text, strlen(tooltip_text));
+	pango_layout_set_markup(td->layout, tooltip_text, -1);
 	pango_layout_set_wrap(td->layout, PANGO_WRAP_WORD);
 	pango_layout_set_width(td->layout, 300000);