Issue #8319 has been updated by windwiny (wind winy).


@zzak, @nagai,

This patch is fix sample bug
  1. ext/tk/sample/demos-en/floor2.rb  and  ext/tk/sample/demos-en/knightstour.rb , using Tk::Canvas.create .
  2. ext/tk/sample/demos-en/dialog1.rb , Tk.update run after eval_samplecode Dialog close may be throw nilClass.

----------------------------------------
Bug #8319: Tk::Canvas.create raise if type TkcItem
https://bugs.ruby-lang.org/issues/8319#change-38919

Author: zzak (Zachary Scott)
Status: Assigned
Priority: Normal
Assignee: nagai (Hidetoshi Nagai)
Category: ext
Target version: current: 2.1.0
ruby -v: 2.1.0dev
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


From ((<GitHub#295|URL:https://github.com/ruby/ruby/pull/295>))


-- 
http://bugs.ruby-lang.org/