summaryrefslogtreecommitdiff
path: root/ext/tk/lib/tk.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/lib/tk.rb')
-rw-r--r--ext/tk/lib/tk.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb
index a03e6823bb..2f42160313 100644
--- a/ext/tk/lib/tk.rb
+++ b/ext/tk/lib/tk.rb
@@ -1317,7 +1317,7 @@ module Tk
def frame
tk_call('wm', 'frame', path)
end
- def geometry(geom)
+ def geometry(geom=nil)
if geom
tk_call('wm', 'geometry', path, geom)
self