diff options
author | fvogel <fvogelnew1@free.fr> | 2016-11-02 20:07:14 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-11-02 20:07:14 (GMT) |
commit | dbd5092cb00d45365d9260c2c767757fa4219ede (patch) | |
tree | 7a748293a54112b49a67b8043631ef805a002067 | |
parent | 33dbd6f6acfe868aaa6b3c373cfe0b0df411dff8 (diff) | |
download | tk-dbd5092cb00d45365d9260c2c767757fa4219ede.zip tk-dbd5092cb00d45365d9260c2c767757fa4219ede.tar.gz tk-dbd5092cb00d45365d9260c2c767757fa4219ede.tar.bz2 |
Removed proc ::tk_getFileType since it is used nowhere in Tk, is undocumented, is superseded by the -typevariable option of file dialogs, and was anyway only available if tk_strictMotif is true.
-rw-r--r-- | library/tclIndex | 1 | ||||
-rw-r--r-- | library/xmfbox.tcl | 7 |
2 files changed, 0 insertions, 8 deletions
diff --git a/library/tclIndex b/library/tclIndex index b3f37fa..919fa8a 100644 --- a/library/tclIndex +++ b/library/tclIndex @@ -247,7 +247,6 @@ set auto_index(::tk::ListBoxKeyAccel_Unset) [list source [file join $dir xmfbox. set auto_index(::tk::ListBoxKeyAccel_Key) [list source [file join $dir xmfbox.tcl]] set auto_index(::tk::ListBoxKeyAccel_Goto) [list source [file join $dir xmfbox.tcl]] set auto_index(::tk::ListBoxKeyAccel_Reset) [list source [file join $dir xmfbox.tcl]] -set auto_index(tk_getFileType) [list source [file join $dir xmfbox.tcl]] set auto_index(::tk::unsupported::ExposePrivateCommand) [list source [file join $dir unsupported.tcl]] set auto_index(::tk::unsupported::ExposePrivateVariable) [list source [file join $dir unsupported.tcl]] set auto_index(::tk::fontchooser) [list source [file join $dir fontchooser.tcl]] diff --git a/library/xmfbox.tcl b/library/xmfbox.tcl index 14d2be5..f1daea0 100644 --- a/library/xmfbox.tcl +++ b/library/xmfbox.tcl @@ -210,7 +210,6 @@ proc ::tk::MotifFDialog_SetFilter {w type} { variable ::tk::Priv set data(filter) [lindex $type 1] - set Priv(selectFileType) [lindex [lindex $type 0] 0] MotifFDialog_Update $w } @@ -981,9 +980,3 @@ proc ::tk::ListBoxKeyAccel_Reset {w} { unset -nocomplain Priv(lbAccel,$w) } -proc ::tk_getFileType {} { - variable ::tk::Priv - - return $Priv(selectFileType) -} - |