0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

updated for version 7.0163

This commit is contained in:
Bram Moolenaar
2005-12-06 20:04:44 +00:00
parent 9372a11ca6
commit 241a8aaa48
28 changed files with 1227 additions and 21876 deletions

View File

@@ -621,8 +621,6 @@ static XtIntervalId timer_id = (XtIntervalId)0;
pascal void timer_proc(EventLoopTimerRef, void *);
static EventLoopTimerRef timer_id = NULL;
static EventLoopTimerUPP timerUPP;
#elif defined(FEAT_GUI_KDE)
static int timer_id = 0;
#endif
#ifndef FEAT_GUI_W32 /* Win32 console and Unix */
@@ -664,9 +662,6 @@ timer_proc(XtPointer timed_out, XtIntervalId *interval_id)
# elif defined(FEAT_GUI_MAC)
pascal void
timer_proc(EventLoopTimerRef theTimer, void *userData)
#elif defined(FEAT_GUI_KDE)
void
timer_proc(void)
# endif
{
scheme_check_threads();
@@ -693,9 +688,6 @@ setup_timer(void)
timerUPP = NewEventLoopTimerUPP(timer_proc);
InstallEventLoopTimer(GetMainEventLoop(), p_mzq * kEventDurationMillisecond,
p_mzq * kEventDurationMillisecond, timerUPP, NULL, &timer_id);
#elif defined(FEAT_GUI_KDE)
mzscheme_kde_start_timer();
timer_id = 1; /* just signal that timer was started */
# endif
}
@@ -711,8 +703,6 @@ remove_timer(void)
# elif defined(FEAT_GUI_MAC)
RemoveEventLoopTimer(timer_id);
DisposeEventLoopTimerUPP(timerUPP);
#elif defined(FEAT_GUI_KDE)
mzscheme_kde_stop_timer();
# endif
timer_id = 0;
}