Fixed the -pref code to (1) use the new lowerStartInterCaps method names (and use the combined init() and showWindow() method), and (2) to release the prefwindow object.

git-svn-id: svn://10.0.0.236/trunk@34620 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mcmullen%netscape.com
1999-06-10 19:57:02 +00:00
parent c7f5e5d0c9
commit a1a83a4ea7

View File

@@ -523,10 +523,8 @@ int main(int argc, char* argv[])
nsIPrefWindow::GetIID(),
(void **)&prefWindow);
if (NS_SUCCEEDED(rv))
{
prefWindow->Init(nsString("Apprunner::main()").GetUnicode());
prefWindow->ShowWindow(nsnull);
}
prefWindow->showWindow(nsString("Apprunner::main()").GetUnicode(), nsnull, nsnull);
NS_IF_RELEASE(prefWindow);
goto done;
}