comparison pidgin/gtkimhtml.c @ 27032:d9f2a7f18759

We want to see what the missing custom smiley stands for.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 25 May 2009 20:13:01 +0000
parents 126ad6235023
children 804141095de5
comparison
equal deleted inserted replaced
27031:0f1b41c2f835 27032:d9f2a7f18759
5060 char *text = g_strdup(unescaped); 5060 char *text = g_strdup(unescaped);
5061 gtk_container_add(GTK_CONTAINER(ebox), img); 5061 gtk_container_add(GTK_CONTAINER(ebox), img);
5062 gtk_widget_show(img); 5062 gtk_widget_show(img);
5063 g_object_set_data_full(G_OBJECT(anchor), "gtkimhtml_plaintext", text, g_free); 5063 g_object_set_data_full(G_OBJECT(anchor), "gtkimhtml_plaintext", text, g_free);
5064 g_object_set_data(G_OBJECT(anchor), "gtkimhtml_tiptext", text); 5064 g_object_set_data(G_OBJECT(anchor), "gtkimhtml_tiptext", text);
5065 g_object_set_data_full(G_OBJECT(anchor), "gtkimhtml_htmltext", g_strdup(smiley), g_free);
5065 gtk_text_view_add_child_at_anchor(GTK_TEXT_VIEW(imhtml), ebox, anchor); 5066 gtk_text_view_add_child_at_anchor(GTK_TEXT_VIEW(imhtml), ebox, anchor);
5066 } 5067 }
5067 } else { 5068 } else {
5068 gtk_text_buffer_insert(imhtml->text_buffer, iter, smiley, -1); 5069 gtk_text_buffer_insert(imhtml->text_buffer, iter, smiley, -1);
5069 } 5070 }