summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStu Tomlinson <nosnilmot@pidgin.im>2008-02-28 01:42:51 +0000
committerStu Tomlinson <nosnilmot@pidgin.im>2008-02-28 01:42:51 +0000
commitfb0a36b9cb084c16ac8e7d5b6f932c11174b29cc (patch)
treef04c70c3b8d682db7db1cdf600bb93f19e1375e4
parent99ac39c18ac64b0065773c20f823dcca34f93ecf (diff)
downloadpidgin-fb0a36b9cb084c16ac8e7d5b6f932c11174b29cc.tar.gz
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
-rw-r--r--pidgin/gtkimhtml.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pidgin/gtkimhtml.c b/pidgin/gtkimhtml.c
index 269978119d..26cd9ae148 100644
--- a/pidgin/gtkimhtml.c
+++ b/pidgin/gtkimhtml.c
@@ -1455,7 +1455,7 @@ static void gtk_imhtml_init (GtkIMHtml *imhtml)
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(GtkIMHtml *imhtml,
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_remove_smileys(GtkIMHtml *imhtml)
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)