summaryrefslogtreecommitdiff
path: root/gtk/gtktextbtree.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-05-26 19:49:51 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-05-26 19:49:51 +0000
commitcc913d611044221a84f8d2383438ad7b646c9fda (patch)
treec8bfe77d78ed10552e4c3d7c020c963351b077a1 /gtk/gtktextbtree.c
parent33d3e54e3154eb34e30f512205a1af998fbe27dd (diff)
downloadgtk+-cc913d611044221a84f8d2383438ad7b646c9fda.tar.gz
Queue the redisplay after modifying the tag in the btree, otherwise we end
2005-05-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtktextbtree.c (_gtk_text_btree_tag): Queue the redisplay after modifying the tag in the btree, otherwise we end up showing the old tags until the next redraw comes around. (#143537, Gary Kramlich)
Diffstat (limited to 'gtk/gtktextbtree.c')
-rw-r--r--gtk/gtktextbtree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtktextbtree.c b/gtk/gtktextbtree.c
index ac5a9fc904..050399e5f3 100644
--- a/gtk/gtktextbtree.c
+++ b/gtk/gtktextbtree.c
@@ -1975,6 +1975,8 @@ _gtk_text_btree_tag (const GtkTextIter *start_orig,
segments_changed (tree);
+ queue_tag_redisplay (tree, tag, &start, &end);
+
if (gtk_debug_flags & GTK_DEBUG_TEXT)
_gtk_text_btree_check (tree);
}