]> Pileus Git - ~andy/gtk/commit
gtk: don't send BUTTON_RELEASE to unrealized widgets
authorMichael Natterer <mitch@gimp.org>
Fri, 11 Feb 2011 09:35:25 +0000 (10:35 +0100)
committerMichael Natterer <mitch@gimp.org>
Fri, 11 Feb 2011 09:48:43 +0000 (10:48 +0100)
commit1865011b7fe884ecef4bbca93de6fd0d34bd9209
tree093aecfb3676cbf22b4593e4014477d6c3360c6e
parentbba7a98cc63162b694ee6d0eff3e81a83ab90b88
gtk: don't send BUTTON_RELEASE to unrealized widgets

which happened when the source widget was hidden or destroyed while a
drag was going on, like when dragging from a popup that got a grab
broken as result of the dnd operation.
gtk/gtkdnd.c