Fixing bustage

This commit is contained in:
roc+%cs.cmu.edu 2006-02-20 23:05:32 +00:00
parent c9a1c9c5d1
commit cfda9ddaff

View File

@ -435,9 +435,11 @@ nsWindow::Destroy(void)
// window this isn't going to harm anything.
mWindowGroup = nsnull;
#ifdef MOZ_CAIRO_GFX
// Destroy thebes surface now. Badness can happen if we destroy
// the surface after its X Window.
mThebesSurface = nsnull;
#endif
if (mShell) {
gtk_widget_destroy(mShell);