bug 160973 patch by Andrew Schultz <ajschult@eos.ncsu.edu> r=dveditz sr=bryner
fix gtk assertions on installer exit from auto-mode
This commit is contained in:
Родитель
7732a952ed
Коммит
2c54b0db2c
|
@ -185,12 +185,9 @@ nsInstallDlg::Next(GtkWidget *aWidget, gpointer aData)
|
|||
}
|
||||
|
||||
PerformInstall();
|
||||
if (bDLCancel) // set only when download was cancelled
|
||||
{
|
||||
// mode auto has no call to gtk_main()
|
||||
if (gCtx->opt->mMode == nsXIOptions::MODE_DEFAULT)
|
||||
gtk_main_quit();
|
||||
}
|
||||
// mode auto has no call to gtk_main()
|
||||
if (gCtx->opt->mMode == nsXIOptions::MODE_DEFAULT)
|
||||
gtk_main_quit();
|
||||
|
||||
gCtx->bMoving = TRUE;
|
||||
return;
|
||||
|
@ -898,7 +895,6 @@ nsInstallDlg::ShowCompleteDlg()
|
|||
gtk_widget_show_all(completeDlg);
|
||||
|
||||
gtk_main();
|
||||
gtk_main_quit();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Загрузка…
Ссылка в новой задаче