blob: b71bc10127e3d4dd59a61e1b25b7b2d32bcd4da6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ext_tk_lib_tkextlib_tktable_tktable.rb,v 1.1 2013/11/24 15:26:30 taca Exp $
Fix wrong parameter from [ruby-list:49643].
--- ext/tk/lib/tkextlib/tktable/tktable.rb.orig 2008-05-23 05:22:13.000000000 +0000
+++ ext/tk/lib/tkextlib/tktable/tktable.rb
@@ -70,7 +70,7 @@ module Tk::TkTable::ConfigMethod
private :__item_strval_optkeys
def __item_val2ruby_optkeys(id) # { key=>method, ... }
- super(id).update('window'=>proc{|v| window(v)})
+ super(id).update('window'=>proc{|k, v| window(v)})
end
private :__item_val2ruby_optkeys
|