mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	ext/tk/lib/tk.rb:
* fixed trouble on auto-load Tcl commands (enbug on the last commit). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									382b4ae9a3
								
							
						
					
					
						commit
						b4337be29f
					
				
					 1 changed files with 7 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1155,7 +1155,6 @@ module Tk
 | 
			
		|||
    end
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  def root
 | 
			
		||||
    TkRoot.new
 | 
			
		||||
  end
 | 
			
		||||
| 
						 | 
				
			
			@ -2245,8 +2244,14 @@ module Tk
 | 
			
		|||
      auto_path = Tk::LIBRARY
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  AUTO_PATH = TkVarAccess.new('auto_path', auto_path)
 | 
			
		||||
  AUTO_OLDPATH = TkVarAccess.new('auto_oldpath', auto_path)
 | 
			
		||||
 | 
			
		||||
=begin
 | 
			
		||||
  AUTO_OLDPATH = tk_split_simplelist(INTERP._invoke('set', 'auto_oldpath'))
 | 
			
		||||
  AUTO_OLDPATH.each{|s| s.freeze}
 | 
			
		||||
  AUTO_OLDPATH.freeze
 | 
			
		||||
=end
 | 
			
		||||
 | 
			
		||||
  TCL_PACKAGE_PATH = TkVarAccess.new('tcl_pkgPath')
 | 
			
		||||
  PACKAGE_PATH = TCL_PACKAGE_PATH
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue