summaryrefslogtreecommitdiff
path: root/ext/tk/lib/tk/namespace.rb
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-21 20:45:27 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-21 20:45:27 +0000
commit56761e29f655407aa7bbbf27072f9ff6bf055757 (patch)
tree32d75a053657af1e0fd7d0b50956b5e55cdd4e93 /ext/tk/lib/tk/namespace.rb
parent11784c2c4b735f77a503c2e7149ba069caf1cf56 (diff)
* ext/tk/lib/tk.rb: add Tk.appsend_deny and improve Tk.rb_appsend
* ext/tk/lib/tk.rb, ext/tk/lib/tk/*.rb : replace obj.send() -> obj.__send__() * ext/tk/lib/remote-tk.rb: add a new library which create an object to control a Tk interpreter on the other process git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tk/namespace.rb')
-rw-r--r--ext/tk/lib/tk/namespace.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/tk/lib/tk/namespace.rb b/ext/tk/lib/tk/namespace.rb
index 72e9500a49..1ab9623692 100644
--- a/ext/tk/lib/tk/namespace.rb
+++ b/ext/tk/lib/tk/namespace.rb
@@ -88,7 +88,8 @@ class TkNamespace < TkObject
def initialize(name = nil, parent = nil)
unless name
- name = Tk_Namespace_ID.join('')
+ # name = Tk_Namespace_ID.join('')
+ name = Tk_Namespace_ID.join(TkCore::INTERP._ip_id_)
Tk_Namespace_ID[1].succ!
end
name = __tk_call('namespace', 'current') if name == ''