diff options
Diffstat (limited to 'ext/tk/lib/tkextlib/tcllib/ip_entry.rb')
-rw-r--r-- | ext/tk/lib/tkextlib/tcllib/ip_entry.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/tk/lib/tkextlib/tcllib/ip_entry.rb b/ext/tk/lib/tkextlib/tcllib/ip_entry.rb index da9f1eb3a8..a71aaf8792 100644 --- a/ext/tk/lib/tkextlib/tcllib/ip_entry.rb +++ b/ext/tk/lib/tkextlib/tcllib/ip_entry.rb @@ -38,9 +38,10 @@ class Tk::Tcllib::IP_Entry def create_self(keys) if keys and keys != None - tk_call_without_enc('::ipentry::ipentry', @path, *hash_kv(keys, true)) + tk_call_without_enc(self.class::TkCommandNames[0], @path, + *hash_kv(keys, true)) else - tk_call_without_enc('::ipentry::ipentry', @path) + tk_call_without_enc(self.class::TkCommandNames[0], @path) end end private :create_self |