diff options
Diffstat (limited to 'ext/tk/lib/tk.rb')
-rw-r--r-- | ext/tk/lib/tk.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index f10e8e23d8..e64a6b3af7 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -2233,7 +2233,7 @@ class TkObject<TkKernel def cget(slot) case slot - when 'text', 'label', 'show', 'data', 'flie' + when 'text', 'label', 'show', 'data', 'file' tk_call path, 'cget', "-#{slot}" else tk_tcl2ruby tk_call path, 'cget', "-#{slot}" @@ -2273,7 +2273,7 @@ class TkObject<TkKernel else if slot case slot - when 'text', 'label', 'show', 'data', 'flie' + when 'text', 'label', 'show', 'data', 'file' conf = tk_split_simplelist(tk_send('configure', "-#{slot}") ) else conf = tk_split_list(tk_send('configure', "-#{slot}") ) @@ -2285,7 +2285,7 @@ class TkObject<TkKernel conf = tk_split_simplelist(conflist) conf[0] = conf[0][1..-1] case conf[0] - when 'text', 'label', 'show', 'data', 'flie' + when 'text', 'label', 'show', 'data', 'file' else if conf[3] if conf[3].index('{') |