gtk+ r21342 - in trunk: . gtk
- From: cdywan svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r21342 - in trunk: . gtk
- Date: Thu, 11 Sep 2008 00:44:51 +0000 (UTC)
Author: cdywan
Date: Thu Sep 11 00:44:51 2008
New Revision: 21342
URL: http://svn.gnome.org/viewvc/gtk+?rev=21342&view=rev
Log:
Bug 551567 â DND mark broken
* gtk/gtktextbtree.c (redisplay_mark): invalidate mark properly
Patch by Yevgen Muntyan.
Modified:
trunk/ChangeLog
trunk/gtk/gtktextbtree.c
Modified: trunk/gtk/gtktextbtree.c
==============================================================================
--- trunk/gtk/gtktextbtree.c (original)
+++ trunk/gtk/gtktextbtree.c Thu Sep 11 00:44:51 2008
@@ -2660,6 +2660,7 @@
{
GtkTextIter iter;
GtkTextIter end;
+ gboolean cursor_only;
_gtk_text_btree_get_iter_at_mark (mark->body.mark.tree,
&iter,
@@ -2669,7 +2670,8 @@
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]