From e2dec40448524f842052c3826f0954be894c8429 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 1 Sep 2003 09:02:43 +0000 Subject: * parse.y (aref_args): forgot to call NEW_SPLAT(). reported by Dave Butcher. * eval.c (Init_Thread): protect thgroup_default. suggested by Guy Decoux in [ruby-talk:80623] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tk/lib/tk.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index a03e6823b..2f4216031 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 -- cgit