diff options
Diffstat (limited to 'ext/tk/sample')
-rw-r--r-- | ext/tk/sample/demos-en/floor.rb | 4 | ||||
-rw-r--r-- | ext/tk/sample/demos-en/floor2.rb | 4 | ||||
-rw-r--r-- | ext/tk/sample/demos-jp/floor.rb | 4 | ||||
-rw-r--r-- | ext/tk/sample/demos-jp/floor2.rb | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/ext/tk/sample/demos-en/floor.rb b/ext/tk/sample/demos-en/floor.rb index 15c56a154e..9c95770d43 100644 --- a/ext/tk/sample/demos-en/floor.rb +++ b/ext/tk/sample/demos-en/floor.rb @@ -1667,8 +1667,8 @@ else pack('expand'=>'yes', 'fill'=>'both', 'padx'=>1, 'pady'=>1) - v.command(proc{|*args| c.yview(*args)}) - h.command(proc{|*args| c.xview(*args)}) + v.command(proc{|*args| f.yview(*args)}) + h.command(proc{|*args| f.xview(*args)}) } end diff --git a/ext/tk/sample/demos-en/floor2.rb b/ext/tk/sample/demos-en/floor2.rb index ab8659a628..513e02aaaa 100644 --- a/ext/tk/sample/demos-en/floor2.rb +++ b/ext/tk/sample/demos-en/floor2.rb @@ -1667,8 +1667,8 @@ else pack('expand'=>'yes', 'fill'=>'both', 'padx'=>1, 'pady'=>1) - v.command(proc{|*args| c.yview(*args)}) - h.command(proc{|*args| c.xview(*args)}) + v.command(proc{|*args| f.yview(*args)}) + h.command(proc{|*args| f.xview(*args)}) } end diff --git a/ext/tk/sample/demos-jp/floor.rb b/ext/tk/sample/demos-jp/floor.rb index 517600de92..d258bb6486 100644 --- a/ext/tk/sample/demos-jp/floor.rb +++ b/ext/tk/sample/demos-jp/floor.rb @@ -1664,8 +1664,8 @@ else pack('expand'=>'yes', 'fill'=>'both', 'padx'=>1, 'pady'=>1) - v.command(proc{|*args| c.yview(*args)}) - h.command(proc{|*args| c.xview(*args)}) + v.command(proc{|*args| f.yview(*args)}) + h.command(proc{|*args| f.xview(*args)}) } end diff --git a/ext/tk/sample/demos-jp/floor2.rb b/ext/tk/sample/demos-jp/floor2.rb index fcf208b61f..9812240dce 100644 --- a/ext/tk/sample/demos-jp/floor2.rb +++ b/ext/tk/sample/demos-jp/floor2.rb @@ -1664,8 +1664,8 @@ else pack('expand'=>'yes', 'fill'=>'both', 'padx'=>1, 'pady'=>1) - v.command(proc{|*args| c.yview(*args)}) - h.command(proc{|*args| c.xview(*args)}) + v.command(proc{|*args| f.yview(*args)}) + h.command(proc{|*args| f.xview(*args)}) } end |