changeset 18308:4c3a24270114

Removes the 'remove all buffer tags' function from gtkimhtml's close_tags() function. The problem was that the BACKGROUND tag is always at the end iter, and we don't want to remove that. The toggle functions called above it should do the trick of properly resetting everything, and it does seem to. Fixes #1034
author Sean Egan <seanegan@gmail.com>
date Wed, 27 Jun 2007 18:52:12 +0000
parents 4434e5c9d247
children c50e960e7086 c7d344acd1ff
files pidgin/gtkimhtml.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkimhtml.c	Wed Jun 27 18:11:30 2007 +0000
+++ b/pidgin/gtkimhtml.c	Wed Jun 27 18:52:12 2007 +0000
@@ -4939,9 +4939,6 @@
 
 	if (imhtml->edit.link)
 		gtk_imhtml_toggle_link(imhtml, NULL);
-
-	gtk_text_buffer_remove_all_tags(imhtml->text_buffer, iter, iter);
-
 }
 
 char *gtk_imhtml_get_markup(GtkIMHtml *imhtml)