* ext/tk/tcltklib.c: fix wrong flag value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d9691f6e84
commit
3be4523bde
@ -1,3 +1,7 @@
|
|||||||
|
Mon Dec 22 18:00:36 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||||
|
|
||||||
|
* ext/tk/tcltklib.c: fix wrong flag value.
|
||||||
|
|
||||||
Mon Dec 22 12:26:18 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Mon Dec 22 12:26:18 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* cygwin/GNUmakefile.in (rubydll.def), win32/mkexports.rb
|
* cygwin/GNUmakefile.in (rubydll.def), win32/mkexports.rb
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* Oct. 24, 1997 Y. Matsumoto
|
* Oct. 24, 1997 Y. Matsumoto
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define TCLTKLIB_RELEASE_DATE "2008-12-03"
|
#define TCLTKLIB_RELEASE_DATE "2008-12-22"
|
||||||
|
|
||||||
#include "ruby.h"
|
#include "ruby.h"
|
||||||
|
|
||||||
@ -411,7 +411,7 @@ static VALUE eventloop_thread;
|
|||||||
Tcl_ThreadId tk_eventloop_thread_id; /* native thread ID of Tcl interpreter */
|
Tcl_ThreadId tk_eventloop_thread_id; /* native thread ID of Tcl interpreter */
|
||||||
#endif
|
#endif
|
||||||
static VALUE eventloop_stack;
|
static VALUE eventloop_stack;
|
||||||
static int window_event_mode = ( ~ TCL_IDLE_EVENTS | TCL_WINDOW_EVENTS );
|
static int window_event_mode = ~0;
|
||||||
|
|
||||||
static VALUE watchdog_thread;
|
static VALUE watchdog_thread;
|
||||||
|
|
||||||
@ -1187,7 +1187,7 @@ set_eventloop_window_mode(self, mode)
|
|||||||
if (RTEST(mode)) {
|
if (RTEST(mode)) {
|
||||||
window_event_mode = ~0;
|
window_event_mode = ~0;
|
||||||
} else {
|
} else {
|
||||||
window_event_mode = ~(TCL_WINDOW_EVENTS | TCL_IDLE_EVENTS);
|
window_event_mode = ~TCL_WINDOW_EVENTS;
|
||||||
}
|
}
|
||||||
|
|
||||||
return mode;
|
return mode;
|
||||||
@ -10152,3 +10152,4 @@ Init_tcltklib()
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* eof */
|
/* eof */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user