зеркало из https://github.com/mozilla/gecko-dev.git
Added TSM Input Method support for the Macintosh. (Added a call to CloseTSMAwareApplication).
This commit is contained in:
Родитель
5809e0854b
Коммит
33d027efe8
|
@ -48,6 +48,7 @@
|
|||
|
||||
#if defined(XP_MAC)
|
||||
#include "macstdlibextras.h"
|
||||
#include <TextServices.h>
|
||||
// Set up the toolbox and (if DEBUG) the console. Do this in a static initializer,
|
||||
// to make it as unlikely as possible that somebody calls printf() before we get initialized.
|
||||
static struct MacInitializer { MacInitializer() { InitializeMacToolbox(); } } gInitializer;
|
||||
|
@ -523,6 +524,9 @@ done:
|
|||
|
||||
nsServiceManager::ReleaseService(kFileLocatorCID, locator);
|
||||
|
||||
#ifdef XP_MAC
|
||||
(void)CloseTSMAwareApplication();
|
||||
#endif
|
||||
/*
|
||||
* Translate the nsresult into an appropriate platform-specific return code.
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче