summaryrefslogtreecommitdiff
path: root/ext/tk/lib/tk/mngfocus.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/lib/tk/mngfocus.rb')
-rw-r--r--ext/tk/lib/tk/mngfocus.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/tk/lib/tk/mngfocus.rb b/ext/tk/lib/tk/mngfocus.rb
index a0f18233be..1a2049c8a8 100644
--- a/ext/tk/lib/tk/mngfocus.rb
+++ b/ext/tk/lib/tk/mngfocus.rb
@@ -17,15 +17,15 @@ module TkManageFocus
tk_call_without_enc('tk_focusFollowsMouse')
end
- def TkManageFocus.next(window)
- tk_tcl2ruby(tk_call('tk_focusNext', window))
+ def TkManageFocus.next(win)
+ tk_tcl2ruby(tk_call('tk_focusNext', win))
end
def focusNext
TkManageFocus.next(self)
end
- def TkManageFocus.prev(window)
- tk_tcl2ruby(tk_call('tk_focusPrev', window))
+ def TkManageFocus.prev(win)
+ tk_tcl2ruby(tk_call('tk_focusPrev', win))
end
def focusPrev
TkManageFocus.prev(self)