Mercurial > pidgin.yaz
changeset 22315:f730ffc57ead
disapproval of revision 'fb186fe2307039838fc0d044506008a9eb2f8438'
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sat, 01 Mar 2008 23:01:25 +0000 |
parents | 27d87096e6bc |
children | ff1258551f79 46b86c4f2c4f |
files | pidgin/gtkimhtml.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkimhtml.c Fri Feb 22 07:03:15 2008 +0000 +++ b/pidgin/gtkimhtml.c Sat Mar 01 23:01:25 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 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 @@ 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 (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)