Index: gtk+/ChangeLog
===================================================================
RCS file: /export/cvs/gnome-2.0/gtk+/ChangeLog,v
retrieving revision 1.3603
diff -p -u -5 -r1.3603 ChangeLog
--- gtk+/ChangeLog	2002/09/06 21:18:23	1.3603
+++ gtk+/ChangeLog	2002/09/08 07:43:15
@@ -1,5 +1,11 @@
+Sun Sep  8 13:24:35 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-06  Matthias Clasen  <maclas@gmx.de>
 
 	* configure.in: Add ani to all_loaders.
 
 Fri Sep  6 15:59:54 2002  Owen Taylor  <otaylor@redhat.com>
Index: gtk+/gtk/gtktextview.c
===================================================================
RCS file: /export/cvs/gnome-2.0/gtk+/gtk/gtktextview.c,v
retrieving revision 1.203
diff -p -u -5 -r1.203 gtktextview.c
--- gtk+/gtk/gtktextview.c	2002/08/14 08:05:30	1.203
+++ gtk+/gtk/gtktextview.c	2002/09/08 07:29:36
@@ -5589,11 +5589,12 @@ gtk_text_view_drag_motion (GtkWidget    
     {
       /* can't accept any of the offered targets */
     }                                 
   else if (gtk_text_buffer_get_selection_bounds (get_buffer (text_view),
                                             &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. */
     }
   else
     {      
