mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/tk/sample/demos-en/widget: modify version check for supporting features
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cd4ce67e50
commit
a247c7715d
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Dec 16 16:29:44 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/sample/demos-en/widget: modify version check for
|
||||
supporting features
|
||||
|
||||
Thu Dec 16 16:03:50 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/lib/tk/bindtag.rb: bug fix [ruby-talk: 123667]
|
||||
|
|
|
@ -492,9 +492,9 @@ end
|
|||
|
||||
if $tk_major_ver < 8
|
||||
alias showVars showVars1
|
||||
elsif $tk_major_ver == 8 && $tk_minor_ver < 5
|
||||
elsif $tk_major_ver == 8 && $tk_minor_ver < 4
|
||||
alias showVars showVars1
|
||||
else # ver >= 8.5
|
||||
else # ver >= 8.4
|
||||
alias showVars showVars2
|
||||
end
|
||||
|
||||
|
@ -692,9 +692,9 @@ end
|
|||
|
||||
if $tk_major_ver < 8
|
||||
alias showCode showCode1
|
||||
elsif $tk_major_ver == 8 && $tk_minor_ver < 5
|
||||
elsif $tk_major_ver == 8 && $tk_minor_ver < 4
|
||||
alias showCode showCode1
|
||||
else # ver >= 8.5
|
||||
else # ver >= 8.4
|
||||
alias showCode showCode2
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue