diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-11 08:02:04 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-11 08:02:04 +0000 |
| commit | 27a6da70c241d07b7a64ae862e8955739b1ee9ea (patch) | |
| tree | 40149bab7e1444f3ce2cd9517fede590dee6e4f1 /ext/tk | |
| parent | 8cc0b3043cd2b75adeefcdc9d779ff95f2c7778e (diff) | |
| download | ruby-27a6da70c241d07b7a64ae862e8955739b1ee9ea.tar.gz ruby-27a6da70c241d07b7a64ae862e8955739b1ee9ea.tar.xz ruby-27a6da70c241d07b7a64ae862e8955739b1ee9ea.zip | |
* marshal.c (w_object): module inclusion using extend() should
also be detected.
* eval.c (rb_eval_cmd): cbase should not be NULL; it should be
either ruby_wrapper or Object.
* enum.c (enum_each_with_index): should return self.
* process.c (proc_setpgrp): should return value for non-void function.
* process.c (proc_getpgid): should raise exception if getpgid() return -1.
* string.c (rb_str_ljust): should return a duplicated string.
* string.c (rb_str_rjust): ditto.
* string.c (rb_str_center): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk')
| -rw-r--r-- | ext/tk/lib/tk.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index a935a55e1..bac2ae35f 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -945,8 +945,8 @@ module Tk def sizefrom(*args) tk_call('wm', 'sizefrom', path, *args) end - def state - tk_call 'wm', 'state', path + def state(state=None) + tk_call 'wm', 'state', path, state end def title(*args) tk_call 'wm', 'title', path, *args |
