summaryrefslogtreecommitdiffstats
path: root/library/demos/bitmap.tcl
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2003-11-03 15:30:45 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2003-11-03 15:30:45 (GMT)
commitc0164ce633713cc59b867c0a5b713be33fa51593 (patch)
tree85e4cc9231f1d3d491a3a13dfe56c421c2572707 /library/demos/bitmap.tcl
parent2850c445d0a092a29a4bb8fc7872bdf1b8e77013 (diff)
downloadtk-c0164ce633713cc59b867c0a5b713be33fa51593.zip
tk-c0164ce633713cc59b867c0a5b713be33fa51593.tar.gz
tk-c0164ce633713cc59b867c0a5b713be33fa51593.tar.bz2
Make demo location independent of main Tk library location. [Patch 832691]
Diffstat (limited to 'library/demos/bitmap.tcl')
-rw-r--r--library/demos/bitmap.tcl3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/demos/bitmap.tcl b/library/demos/bitmap.tcl
index dd8fd7a..fffea45 100644
--- a/library/demos/bitmap.tcl
+++ b/library/demos/bitmap.tcl
@@ -3,7 +3,7 @@
# This demonstration script creates a toplevel window that displays
# all of Tk's built-in bitmaps.
#
-# RCS: @(#) $Id: bitmap.tcl,v 1.3 2003/08/20 23:02:18 hobbs Exp $
+# RCS: @(#) $Id: bitmap.tcl,v 1.4 2003/11/03 15:31:18 dkf Exp $
if {![info exists widgetDemo]} {
error "This script should be run from the \"widget\" demo."
@@ -33,7 +33,6 @@ proc bitmapRow {w args} {
}
set w .bitmap
-global tk_library
catch {destroy $w}
toplevel $w
wm title $w "Bitmap Demonstration"