diff options
| author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-07 07:10:44 +0000 |
|---|---|---|
| committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-07 07:10:44 +0000 |
| commit | 4d3a121e6eef0164f32a4042afca35caccef4c3b (patch) | |
| tree | 09e2f00bbd85e05ba96774c32f6ee3b6f543ae64 /ext/tk/sample/tkhello.rb | |
| parent | 904404aca04ad3587920b1a90628a8343bf930f5 (diff) | |
| download | ruby-4d3a121e6eef0164f32a4042afca35caccef4c3b.tar.gz ruby-4d3a121e6eef0164f32a4042afca35caccef4c3b.tar.xz ruby-4d3a121e6eef0164f32a4042afca35caccef4c3b.zip | |
* tcltklib.c (lib_mainloop_core): fixed signal-trap bug
* multi-tk.rb, tk.rb, tkafter.rb, tkcanvas.rb, tkfont.rb, tktext.rb,
tkvirtevent.rb : Ruby/Tk works at $SAFE == 4
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample/tkhello.rb')
| -rw-r--r-- | ext/tk/sample/tkhello.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/sample/tkhello.rb b/ext/tk/sample/tkhello.rb index 5188fe1c8..ab236963e 100644 --- a/ext/tk/sample/tkhello.rb +++ b/ext/tk/sample/tkhello.rb @@ -5,6 +5,6 @@ TkButton.new(nil, 'command' => proc{print "hello\n"}).pack('fill'=>'x') TkButton.new(nil, 'text' => 'quit', - 'command' => 'exit').pack('fill'=>'x') + 'command' => proc{exit}).pack('fill'=>'x') Tk.mainloop |
