pidgin: c401b062: And that should be done in gtk_imhtml_in...
malu at pidgin.im
malu at pidgin.im
Sun Oct 25 19:35:21 EDT 2009
-----------------------------------------------------------------
Revision: c401b062094b0c98417bb4b1a9938bb05a648a31
Ancestor: c7dd8bf042575bcdbcc1ba221de91d898da38b21
Author: malu at pidgin.im
Date: 2009-10-25T23:33:17
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c401b062094b0c98417bb4b1a9938bb05a648a31
Modified files:
pidgin/gtkimhtml.c
ChangeLog:
And that should be done in gtk_imhtml_insert_smiley_at_iter too...
-------------- next part --------------
============================================================
--- pidgin/gtkimhtml.c b65e2c34b0bd6fa102951b2cd24e32eb22e0f09f
+++ pidgin/gtkimhtml.c f9a8fb513256da8b7d3506a2d12aa5613786e693
@@ -5075,7 +5075,8 @@ void gtk_imhtml_insert_smiley_at_iter(Gt
gtk_container_add(GTK_CONTAINER(ebox), img);
gtk_widget_show(img);
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);
gtk_text_view_add_child_at_anchor(GTK_TEXT_VIEW(imhtml), ebox, anchor);
}
More information about the Commits
mailing list