# HG changeset patch # User Sean Egan # Date 1203663795 0 # Node ID 27d87096e6bce5294abc38b36093ae4aa2308c18 # Parent 42724bd41274ac6e1aa18e6d87c6dd36d24aa5cd the 2.10.10 check is wrong. if 0 this until it's figured out. diff -r 42724bd41274 -r 27d87096e6bc pidgin/gtkimhtml.c --- a/pidgin/gtkimhtml.c Wed Feb 20 05:07:09 2008 +0000 +++ b/pidgin/gtkimhtml.c Fri Feb 22 07:03:15 2008 +0000 @@ -1455,7 +1455,7 @@ gtk_text_buffer_create_tag(imhtml->text_buffer, "SUP", "rise", 5000, NULL); gtk_text_buffer_create_tag(imhtml->text_buffer, "PRE", "family", "Monospace", NULL); gtk_text_buffer_create_tag(imhtml->text_buffer, "search", "background", "#22ff00", "weight", "bold", NULL); -#if GTK_CHECK_VERSION(2,10,10) +#if 0 gtk_text_buffer_create_tag(imhtml->text_buffer, "comment", "invisible", FALSE, NULL); #endif @@ -2984,7 +2984,7 @@ gtk_text_buffer_insert(imhtml->text_buffer, iter, ws, wpos); -#if GTK_CHECK_VERSION(2,10,10) +#if 0 wpos = g_snprintf (ws, len, "%s", tag); gtk_text_buffer_insert_with_tags_by_name(imhtml->text_buffer, iter, ws, wpos, "comment", NULL); #else @@ -3138,7 +3138,7 @@ void gtk_imhtml_show_comments (GtkIMHtml *imhtml, gboolean show) { -#if GTK_CHECK_VERSION(2,10,10) +#if 0 GtkTextTag *tag; tag = gtk_text_tag_table_lookup(gtk_text_buffer_get_tag_table(imhtml->text_buffer), "comment"); if (tag)