im.pidgin.pidgin: 77c9ccd225ed49e37259c43a457a37245482706e

nosnilmot at pidgin.im nosnilmot at pidgin.im
Wed Feb 27 20:46:25 EST 2008


-----------------------------------------------------------------
Revision: 77c9ccd225ed49e37259c43a457a37245482706e
Ancestor: 662b18e22ed66890ffcb81db34c948405b31f4c7
Author: nosnilmot at pidgin.im
Date: 2008-02-28T01:42:51
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/77c9ccd225ed49e37259c43a457a37245482706e

Modified files:
        pidgin/gtkimhtml.c

ChangeLog: 

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

-------------- next part --------------
============================================================
--- pidgin/gtkimhtml.c	20f62765929b6a163984f56c70dedc9da137b5ac
+++ pidgin/gtkimhtml.c	6ddec5d16cea88e2bbb7d511384fd9e616da527b
@@ -1455,7 +1455,7 @@ static void gtk_imhtml_init (GtkIMHtml *
 	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 @@ void gtk_imhtml_insert_html_at_iter(GtkI
 
 					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    (
 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)


More information about the Commits mailing list