After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 339224 - sanely handle late (re)setting of dnd image
sanely handle late (re)setting of dnd image
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.8.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: 339293
 
 
Reported: 2006-04-20 20:42 UTC by Benjamin Otte (Company)
Modified: 2006-04-27 05:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix (603 bytes, patch)
2006-04-20 20:43 UTC, Benjamin Otte (Company)
none Details | Review

Description Benjamin Otte (Company) 2006-04-20 20:42:32 UTC
I had the idea of animating a dnd icon. For this I kept resetting the icon until I got the "drag-end" signal. This caused crashes when the drag was aborted.

The attached patch fixes that.
Comment 1 Benjamin Otte (Company) 2006-04-20 20:43:14 UTC
Created attachment 63991 [details] [review]
fix
Comment 2 Matthias Clasen 2006-04-27 05:18:31 UTC
2006-04-27  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkdnd.c (gtk_drag_set_icon_window): Handle the case
        of being called after the drag is cancelled.  (#339224,
        Benjamin Otte)