Mercurial > pidgin.yaz
changeset 28804:9827f5d3571f
Fix randomly broken tooltip for custom smileys.
Thanks to Sadrul for figuring out the solution.
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Sun, 25 Oct 2009 23:17:47 +0000 |
parents | 6e703969157d |
children | 1cf8826f901c |
files | pidgin/gtkimhtml.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkimhtml.c Sun Oct 25 15:26:48 2009 +0000 +++ b/pidgin/gtkimhtml.c Sun Oct 25 23:17:47 2009 +0000 @@ -5053,7 +5053,7 @@ It will be destroyed when 'anchor' is destroyed. */ anchor = gtk_text_buffer_create_child_anchor(imhtml->text_buffer, iter); g_object_set_data_full(G_OBJECT(anchor), "gtkimhtml_plaintext", text, g_free); - g_object_set_data(G_OBJECT(anchor), "gtkimhtml_tiptext", text); + g_object_set_data_full(G_OBJECT(anchor), "gtkimhtml_tiptext", g_strdup(text), g_free); g_object_set_data_full(G_OBJECT(anchor), "gtkimhtml_htmltext", g_strdup(smiley), g_free); /* This catches the expose events generated by animated