diff options
Diffstat (limited to 'ext/tk')
-rw-r--r-- | ext/tk/lib/tk.rb | 2 |
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 |