diff options
Diffstat (limited to 'ext/tk/lib/tk/textimage.rb')
-rw-r--r-- | ext/tk/lib/tk/textimage.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/tk/lib/tk/textimage.rb b/ext/tk/lib/tk/textimage.rb index 444d91b0a5..d36d17098a 100644 --- a/ext/tk/lib/tk/textimage.rb +++ b/ext/tk/lib/tk/textimage.rb @@ -6,9 +6,9 @@ require 'tk/text' class TkTextImage<TkObject def initialize(parent, index, keys) - unless parent.kind_of?(TkText) - fail ArguemntError, "expect TkText for 1st argument" - end + #unless parent.kind_of?(TkText) + # fail ArguemntError, "expect TkText for 1st argument" + #end @t = parent if index == 'end' @path = TkTextMark.new(@t, tk_call(@t.path, 'index', 'end - 1 chars')) |