summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/tk.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tk.rb b/lib/tk.rb
index 1f6d0ef7f5..08a146b8be 100644
--- a/lib/tk.rb
+++ b/lib/tk.rb
@@ -363,7 +363,7 @@ module Tk
tk_call 'wm', 'bitmap', path, *args
end
def iconify
- tk_call 'wm', 'iconify'
+ tk_call 'wm', 'iconify', path
end
def iconmask(*args)
tk_call 'wm', 'iconmask', path, *args