mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
Bug 551567 – DND mark broken
* gtk/gtktextbtree.c (redisplay_mark): invalidate mark properly Patch by Yevgen Muntyan. svn path=/trunk/; revision=21342
This commit is contained in:
parent
7b7f8fc310
commit
4ea49b1705
@ -1,3 +1,10 @@
|
||||
2008-09-11 Christian Dywan <christian@imendio.com>
|
||||
|
||||
Bug 551567 – DND mark broken
|
||||
|
||||
* gtk/gtktextbtree.c (redisplay_mark): invalidate mark properly
|
||||
Patch by Yevgen Muntyan.
|
||||
|
||||
2008-09-10 Björn Lindqvist <bjourne@gmail.com>
|
||||
|
||||
Bug 551699 – gtk_scrolled_window_destroy() is broken
|
||||
|
@ -2660,6 +2660,7 @@ redisplay_mark (GtkTextLineSegment *mark)
|
||||
{
|
||||
GtkTextIter iter;
|
||||
GtkTextIter end;
|
||||
gboolean cursor_only;
|
||||
|
||||
_gtk_text_btree_get_iter_at_mark (mark->body.mark.tree,
|
||||
&iter,
|
||||
@ -2669,7 +2670,8 @@ redisplay_mark (GtkTextLineSegment *mark)
|
||||
gtk_text_iter_forward_char (&end);
|
||||
|
||||
DV (g_print ("invalidating due to moving visible mark (%s)\n", G_STRLOC));
|
||||
_gtk_text_btree_invalidate_region (mark->body.mark.tree, &iter, &end, TRUE);
|
||||
cursor_only = mark == mark->body.mark.tree->insert_mark->segment;
|
||||
_gtk_text_btree_invalidate_region (mark->body.mark.tree, &iter, &end, cursor_only);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user