Commit 9cce8c8c authored by Shivram U's avatar Shivram U Committed by Shivaram Upadhyayula
Browse files

If the end iter is also a part of the selection, then we are in the

Mon Sep  9 16:16:25 2002  Shivram U  <shivaram.upadhyayula@wipro.com>

	* gtk/gtktextview.c (gtk_text_view_drag_motion): If the end iter
	is also a part of the selection, then we are in the selection.
	(#92768)
parent 762c7d55
Mon Sep 9 16:16:25 2002 Shivram U <shivaram.upadhyayula@wipro.com>
* gtk/gtktextview.c (gtk_text_view_drag_motion): If the end iter
is also a part of the selection, then we are in the selection.
(#92768)
2002-09-08 Tor Lillqvist <tml@iki.fi> 2002-09-08 Tor Lillqvist <tml@iki.fi>
* configure.in: Add AM_CONDITIONAL calls also in the non-x11 * configure.in: Add AM_CONDITIONAL calls also in the non-x11
......
Mon Sep 9 16:16:25 2002 Shivram U <shivaram.upadhyayula@wipro.com>
* gtk/gtktextview.c (gtk_text_view_drag_motion): If the end iter
is also a part of the selection, then we are in the selection.
(#92768)
2002-09-08 Tor Lillqvist <tml@iki.fi> 2002-09-08 Tor Lillqvist <tml@iki.fi>
* configure.in: Add AM_CONDITIONAL calls also in the non-x11 * configure.in: Add AM_CONDITIONAL calls also in the non-x11
......
Mon Sep 9 16:16:25 2002 Shivram U <shivaram.upadhyayula@wipro.com>
* gtk/gtktextview.c (gtk_text_view_drag_motion): If the end iter
is also a part of the selection, then we are in the selection.
(#92768)
2002-09-08 Tor Lillqvist <tml@iki.fi> 2002-09-08 Tor Lillqvist <tml@iki.fi>
* configure.in: Add AM_CONDITIONAL calls also in the non-x11 * configure.in: Add AM_CONDITIONAL calls also in the non-x11
......
Mon Sep 9 16:16:25 2002 Shivram U <shivaram.upadhyayula@wipro.com>
* gtk/gtktextview.c (gtk_text_view_drag_motion): If the end iter
is also a part of the selection, then we are in the selection.
(#92768)
2002-09-08 Tor Lillqvist <tml@iki.fi> 2002-09-08 Tor Lillqvist <tml@iki.fi>
* configure.in: Add AM_CONDITIONAL calls also in the non-x11 * configure.in: Add AM_CONDITIONAL calls also in the non-x11
......
Mon Sep 9 16:16:25 2002 Shivram U <shivaram.upadhyayula@wipro.com>
* gtk/gtktextview.c (gtk_text_view_drag_motion): If the end iter
is also a part of the selection, then we are in the selection.
(#92768)
2002-09-08 Tor Lillqvist <tml@iki.fi> 2002-09-08 Tor Lillqvist <tml@iki.fi>
* configure.in: Add AM_CONDITIONAL calls also in the non-x11 * configure.in: Add AM_CONDITIONAL calls also in the non-x11
......
Mon Sep 9 16:16:25 2002 Shivram U <shivaram.upadhyayula@wipro.com>
* gtk/gtktextview.c (gtk_text_view_drag_motion): If the end iter
is also a part of the selection, then we are in the selection.
(#92768)
2002-09-08 Tor Lillqvist <tml@iki.fi> 2002-09-08 Tor Lillqvist <tml@iki.fi>
* configure.in: Add AM_CONDITIONAL calls also in the non-x11 * configure.in: Add AM_CONDITIONAL calls also in the non-x11
......
...@@ -5591,7 +5591,8 @@ gtk_text_view_drag_motion (GtkWidget *widget, ...@@ -5591,7 +5591,8 @@ gtk_text_view_drag_motion (GtkWidget *widget,
} }
else if (gtk_text_buffer_get_selection_bounds (get_buffer (text_view), else if (gtk_text_buffer_get_selection_bounds (get_buffer (text_view),
&start, &end) && &start, &end) &&
gtk_text_iter_in_range (&newplace, &start, &end)) gtk_text_iter_compare (&newplace, &start) >= 0 &&
gtk_text_iter_compare (&newplace, &end) <= 0)
{ {
/* We're inside the selection. */ /* We're inside the selection. */
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment