diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-01-31 04:14:50 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-01-31 04:14:50 +0000 |
commit | 2d87cac00b822a84f05e5be469bd94ede82027bd (patch) | |
tree | 8b1f540cb96d56bec584d8a1c0e70353a249bdfe /ext/tk/lib | |
parent | cbf8e38ce7b73a81034de904d739bccc71af47e9 (diff) | |
download | ruby-2d87cac00b822a84f05e5be469bd94ede82027bd.tar.gz ruby-2d87cac00b822a84f05e5be469bd94ede82027bd.tar.xz ruby-2d87cac00b822a84f05e5be469bd94ede82027bd.zip |
* ext/tk/tcltklib.c: add invalid namespace check
* ext/tk/lib/multi-tk.rb: add invalid_namespace? method
* ext/tk/lib/remote-tk.rb: ditto
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib')
-rw-r--r-- | ext/tk/lib/multi-tk.rb | 8 | ||||
-rw-r--r-- | ext/tk/lib/remote-tk.rb | 2 | ||||
-rw-r--r-- | ext/tk/lib/tk.rb | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/ext/tk/lib/multi-tk.rb b/ext/tk/lib/multi-tk.rb index ef4868fde..cfe4887c4 100644 --- a/ext/tk/lib/multi-tk.rb +++ b/ext/tk/lib/multi-tk.rb @@ -1568,8 +1568,8 @@ class << MultiTkIp __getip.deleted? end - def null_namespace? - __getip.null_namespace? + def invalid_namespace? + __getip.invalid_namespace? end def abort(msg = nil) @@ -1894,8 +1894,8 @@ class MultiTkIp @interp.deleted? end - def null_namespace? - @interp.null_namespace? + def invalid_namespace? + @interp.invalid_namespace? end def abort(msg = nil) diff --git a/ext/tk/lib/remote-tk.rb b/ext/tk/lib/remote-tk.rb index a2f8a46d4..04d86d4cd 100644 --- a/ext/tk/lib/remote-tk.rb +++ b/ext/tk/lib/remote-tk.rb @@ -282,7 +282,7 @@ class RemoteTkIp end end - def null_namespace? + def invalid_namespace? false end diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index 7f734a082..e7217ff97 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -3940,7 +3940,7 @@ end #Tk.freeze module Tk - RELEASE_DATE = '2005-01-25'.freeze + RELEASE_DATE = '2005-01-28'.freeze autoload :AUTO_PATH, 'tk/variable' autoload :TCL_PACKAGE_PATH, 'tk/variable' |