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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user