From ce8dc3a83bde2b2d51da4e9bddb20f6ff5523e32 Mon Sep 17 00:00:00 2001 From: "pavlov%netscape.com" Date: Fri, 1 Oct 1999 08:34:33 +0000 Subject: [PATCH] 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 --- mozilla/widget/src/gtk/nsWidget.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mozilla/widget/src/gtk/nsWidget.cpp b/mozilla/widget/src/gtk/nsWidget.cpp index 4079f3e5796..d860a2d6f30 100644 --- a/mozilla/widget/src/gtk/nsWidget.cpp +++ b/mozilla/widget/src/gtk/nsWidget.cpp @@ -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;