diff options
| author | Adrian Robert | 2009-08-21 19:29:31 +0000 |
|---|---|---|
| committer | Adrian Robert | 2009-08-21 19:29:31 +0000 |
| commit | 641d87f548c177edbaeecc717eda42323b0e2c7f (patch) | |
| tree | 839aed8666f8ac0f337e255c2f44c95807c21abf /src/nsmenu.m | |
| parent | cb5b40ee3b9073f3038a8fddad1824bdd83490e9 (diff) | |
| download | emacs-641d87f548c177edbaeecc717eda42323b0e2c7f.tar.gz emacs-641d87f548c177edbaeecc717eda42323b0e2c7f.zip | |
nsfns.m (EmacsDialogPanel-runDialogAt): Add declaration of
timer_check() to avoid crash on Leopard/PPC. Bug #2154.
Diffstat (limited to 'src/nsmenu.m')
| -rw-r--r-- | src/nsmenu.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nsmenu.m b/src/nsmenu.m index aab3016e5e8..05184660bac 100644 --- a/src/nsmenu.m +++ b/src/nsmenu.m | |||
| @@ -1887,6 +1887,7 @@ void process_dialog (id window, Lisp_Object list) | |||
| 1887 | - (Lisp_Object)runDialogAt: (NSPoint)p | 1887 | - (Lisp_Object)runDialogAt: (NSPoint)p |
| 1888 | { | 1888 | { |
| 1889 | int ret; | 1889 | int ret; |
| 1890 | extern EMACS_TIME timer_check (int do_it_now); /* TODO: add to a header */ | ||
| 1890 | 1891 | ||
| 1891 | /* initiate a session that will be ended by pop_down_menu */ | 1892 | /* initiate a session that will be ended by pop_down_menu */ |
| 1892 | popupSession = [NSApp beginModalSessionForWindow: self]; | 1893 | popupSession = [NSApp beginModalSessionForWindow: self]; |