summaryrefslogtreecommitdiff
path: root/ext/tk/lib/tk/grid.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/lib/tk/grid.rb')
-rw-r--r--ext/tk/lib/tk/grid.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/tk/lib/tk/grid.rb b/ext/tk/lib/tk/grid.rb
index 499101f1bb..10fdf3569b 100644
--- a/ext/tk/lib/tk/grid.rb
+++ b/ext/tk/lib/tk/grid.rb
@@ -158,13 +158,13 @@ module TkGrid
list(tk_call_without_enc('grid', 'location', master, x, y))
end
- def propagate(master, bool=None)
+ def propagate(master, mode=None)
# master = master.epath if master.kind_of?(TkObject)
master = _epath(master)
- if bool == None
+ if mode == None
bool(tk_call_without_enc('grid', 'propagate', master))
else
- tk_call_without_enc('grid', 'propagate', master, bool)
+ tk_call_without_enc('grid', 'propagate', master, mode)
end
end