Index: gtk/gtktextview.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtktextview.c,v
retrieving revision 1.315
diff -r1.315 gtktextview.c
6886d6885
<       guint          info;
6890,6896c6889,6891
<       for (info = GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS;
<            info >= GTK_TEXT_BUFFER_TARGET_INFO_TEXT;
<            info--)
<         {
<           if (pair->info == info)
<             gtk_target_list_remove (view_list, pair->target);
<         }
---
>       if (pair->info >= GTK_TEXT_BUFFER_TARGET_INFO_TEXT &&
>           pair->info <= GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS)
>          gtk_target_list_remove (view_list, pair->target);
