summaryrefslogtreecommitdiff
path: root/ext/tk/lib/tk/pack.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/lib/tk/pack.rb')
-rw-r--r--ext/tk/lib/tk/pack.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/tk/lib/tk/pack.rb b/ext/tk/lib/tk/pack.rb
index d592fa1c80..8fab363121 100644
--- a/ext/tk/lib/tk/pack.rb
+++ b/ext/tk/lib/tk/pack.rb
@@ -51,13 +51,13 @@ module TkPack
return info
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('pack', 'propagate', master))
else
- tk_call_without_enc('pack', 'propagate', master, bool)
+ tk_call_without_enc('pack', 'propagate', master, mode)
end
end