pidgin: b3b5983d: disapproval of revision 'fb186fe2307039…

seanegan at pidgin.im seanegan at pidgin.im
Sat Mar 1 18:05:43 EST 2008


-----------------------------------------------------------------
Revision: b3b5983d1eb17af3007d26447c9215e9e8203189
Ancestor: fb186fe2307039838fc0d044506008a9eb2f8438
Author: seanegan at pidgin.im
Date: 2008-03-01T23:01:25
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/b3b5983d1eb17af3007d26447c9215e9e8203189

Modified files:
        pidgin/gtkimhtml.c

ChangeLog: 

disapproval of revision 'fb186fe2307039838fc0d044506008a9eb2f8438'
-------------- next part --------------
============================================================
--- pidgin/gtkimhtml.c	1006316c3d31daf636e2e442eb8de06d850f728e
+++ pidgin/gtkimhtml.c	20f62765929b6a163984f56c70dedc9da137b5ac
@@ -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 0
+#if 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 0
+#if 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 0
+#if 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