mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
do not call PL_InitializeEventsLib(...) any more. nsIEventQueueService::CreateThreadEventQueue(...) has this functionality now...
This commit is contained in:
parent
ebcc40208c
commit
a7dc847b39
@ -88,7 +88,6 @@ nsNativeBrowserWindow::DispatchMenuItem(PRInt32 aID)
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
PL_InitializeEventsLib("");
|
||||
nsViewerApp* app = new nsNativeViewerApp();
|
||||
NS_ADDREF(app);
|
||||
app->Initialize(argc, argv);
|
||||
@ -104,7 +103,6 @@ WinMain(HINSTANCE instance, HINSTANCE prevInstance, LPSTR cmdParam,
|
||||
{
|
||||
gInstance = instance;
|
||||
gPrevInstance = prevInstance;
|
||||
PL_InitializeEventsLib("");
|
||||
nsViewerApp* app = new nsNativeViewerApp();
|
||||
app->Initialize(0, nsnull);
|
||||
int result = app->Run();
|
||||
|
Loading…
Reference in New Issue
Block a user