diff pidgin/gtkimhtml.c @ 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 db4b0aa4ed8c
children 693f9b544e2b 636679fb98ad
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)