mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/tk/lib/tkextlib/blt.rb, ext/tk/lib/tkextlib/blt/vector.rb:
fix NameError bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1e1d2b2639
commit
2e1ee398a4
3 changed files with 13 additions and 8 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Nov 22 10:31:25 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/lib/tkextlib/blt.rb, ext/tk/lib/tkextlib/blt/vector.rb:
|
||||
fix NameError bug.
|
||||
|
||||
Sat Nov 22 03:41:22 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* ext/pty/pty.c (get_device_once): abandon asynchronous exception
|
||||
|
|
|
@ -26,14 +26,14 @@ module Tk
|
|||
PATCH_LEVEL = tk_call('set', 'blt_patchLevel')
|
||||
|
||||
begin
|
||||
lib = INTERP._invoke('set', 'blt_library')
|
||||
lib = TkCore::INTERP._invoke('set', 'blt_library')
|
||||
rescue
|
||||
lib = ''
|
||||
end
|
||||
LIBRARY = TkVarAccess.new('blt_library', lib)
|
||||
|
||||
begin
|
||||
lib = INTERP._invoke('set', 'blt_libPath')
|
||||
lib = TkCore::INTERP._invoke('set', 'blt_libPath')
|
||||
rescue
|
||||
lib = ''
|
||||
end
|
||||
|
|
|
@ -49,10 +49,10 @@ module Tk::BLT
|
|||
size = size.join(':')
|
||||
end
|
||||
if size
|
||||
@id = INTERP._invoke('::blt::vector', 'create',
|
||||
@id = TkCore::INTERP._invoke('::blt::vector', 'create',
|
||||
"#auto(#{size})", *hash_kv(keys))
|
||||
else
|
||||
@id = INTERP._invoke('::blt::vector', 'create',
|
||||
@id = TkCore::INTERP._invoke('::blt::vector', 'create',
|
||||
"#auto", *hash_kv(keys))
|
||||
end
|
||||
|
||||
|
@ -68,7 +68,7 @@ module Tk::BLT
|
|||
@trace_opts = nil
|
||||
|
||||
# teach Tk-ip that @id is global var
|
||||
INTERP._invoke_without_enc('global', @id)
|
||||
TkCore::INTERP._invoke_without_enc('global', @id)
|
||||
end
|
||||
|
||||
def destroy
|
||||
|
@ -250,7 +250,7 @@ module Tk::BLT
|
|||
@trace_opts = nil
|
||||
|
||||
# teach Tk-ip that @id is global var
|
||||
INTERP._invoke_without_enc('global', @id)
|
||||
TkCore::INTERP._invoke_without_enc('global', @id)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue