# HG changeset patch # User Stu Tomlinson # Date 1204162971 0 # Node ID 53873732f90a94bdfc089c49f3eea57fce372c16 # Parent b8774519bda0201dcbdecdff61cc0ac581dd44c7 Disable invisible text things, if someone can conclusively prove this is fixed in a particular gtk version we can re-enable this accordingly References #4666 diff -r b8774519bda0 -r 53873732f90a pidgin/gtkimhtml.c --- a/pidgin/gtkimhtml.c Wed Feb 27 20:31:46 2008 +0000 +++ b/pidgin/gtkimhtml.c Thu Feb 28 01:42:51 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 FALSE && GTK_CHECK_VERSION(2,10,10) 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 FALSE && GTK_CHECK_VERSION(2,10,10) 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 FALSE && GTK_CHECK_VERSION(2,10,10) GtkTextTag *tag; tag = gtk_text_tag_table_lookup(gtk_text_buffer_get_tag_table(imhtml->text_buffer), "comment"); if (tag)