remove bogus call to nsIAppShell->GetNativeData since it isn't used r=shaver (for the entire checkin)

git-svn-id: svn://10.0.0.236/trunk@49556 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pavlov%netscape.com
1999-10-01 08:34:33 +00:00
parent 7f3fe63a8b
commit ce8dc3a83b

View File

@@ -938,10 +938,6 @@ nsresult nsWidget::CreateWidget(nsIWidget *aParent,
} else if (aParent) {
// this ups the refcount of the gtk widget, we must unref later.
parentWidget = GTK_WIDGET(aParent->GetNativeData(NS_NATIVE_WIDGET));
} else if(aAppShell) {
nsNativeWidget shellWidget = aAppShell->GetNativeData(NS_NATIVE_SHELL);
if (shellWidget)
parentWidget = GTK_WIDGET(shellWidget);
}
mBounds = aRect;