Mercurial > pidgin.yaz
diff src/gtkimhtml.c @ 7736:662a33ce4343
[gaim-migrate @ 8381]
This does protocol-specific smileys when wysiwyging. It will also reflect
changes in smiley theme.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Thu, 04 Dec 2003 05:23:19 +0000 |
parents | edebf99a5ec4 |
children | ddc450689c05 |
line wrap: on
line diff
--- a/src/gtkimhtml.c Thu Dec 04 05:06:59 2003 +0000 +++ b/src/gtkimhtml.c Thu Dec 04 05:23:19 2003 +0000 @@ -2194,7 +2194,7 @@ imhtml->format_spans = g_list_append(imhtml->format_spans, span); } -void gtk_imhtml_insert_smiley(GtkIMHtml *imhtml, const char *smiley) +void gtk_imhtml_insert_smiley(GtkIMHtml *imhtml, const char *sml, char *smiley) { GtkTextMark *ins = gtk_text_buffer_get_insert(imhtml->text_buffer); GtkTextIter iter; @@ -2205,7 +2205,7 @@ GtkTextChildAnchor *anchor = gtk_text_buffer_create_child_anchor(imhtml->text_buffer, &iter); g_object_set_data(G_OBJECT(anchor), "text_tag", smiley); - annipixbuf = gtk_smiley_tree_image(imhtml, NULL, smiley); + annipixbuf = gtk_smiley_tree_image(imhtml, sml, smiley); if(annipixbuf) { if(gdk_pixbuf_animation_is_static_image(annipixbuf)) { pixbuf = gdk_pixbuf_animation_get_static_image(annipixbuf);