Bug 297636, crash on dnd to self-closing window, r+sr=roc

This commit is contained in:
flamingice%sourmilk.net 2006-09-12 03:22:00 +00:00
parent 77ef5fd4d9
commit b8f73f5f01

View File

@ -457,6 +457,11 @@ nsWindow::Destroy(void)
mThebesSurface = nsnull;
#endif
if (mDragMotionTimerID) {
gtk_timeout_remove(mDragMotionTimerID);
mDragMotionTimerID = 0;
}
if (mShell) {
gtk_widget_destroy(mShell);
mShell = nsnull;