diff options
Diffstat (limited to 'ext/tk/lib/tkextlib/iwidgets/hierarchy.rb')
-rw-r--r-- | ext/tk/lib/tkextlib/iwidgets/hierarchy.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/tk/lib/tkextlib/iwidgets/hierarchy.rb b/ext/tk/lib/tkextlib/iwidgets/hierarchy.rb index 077d84c7a4..862876ee9f 100644 --- a/ext/tk/lib/tkextlib/iwidgets/hierarchy.rb +++ b/ext/tk/lib/tkextlib/iwidgets/hierarchy.rb @@ -92,7 +92,7 @@ class Tk::Iwidgets::Hierarchy end def __validation_class_list - super << QueryCommand << IndicatorCommand << IconCommand + super() << QueryCommand << IndicatorCommand << IconCommand end Tk::ValidateConfigure.__def_validcmd(binding, QueryCommand) @@ -237,13 +237,13 @@ class Tk::Iwidgets::Hierarchy args << tags.shift.collect{|x|_get_eval_string(x)}.join(' ') # taglist args << tags.shift if tags.size > 0 # chars end - super index, *args + super(index, *args) else # single chars-taglist argument :: str, tag, tag, ... if tags.size == 0 - super index, chars + super(index, chars) else - super index, chars, tags.collect{|x|_get_eval_string(x)}.join(' ') + super(index, chars, tags.collect{|x|_get_eval_string(x)}.join(' ')) end end end |