summaryrefslogtreecommitdiffstats
path: root/ds9/library/plotdialog.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'ds9/library/plotdialog.tcl')
-rw-r--r--ds9/library/plotdialog.tcl7
1 files changed, 0 insertions, 7 deletions
diff --git a/ds9/library/plotdialog.tcl b/ds9/library/plotdialog.tcl
index 4f20525..1054014 100644
--- a/ds9/library/plotdialog.tcl
+++ b/ds9/library/plotdialog.tcl
@@ -566,12 +566,8 @@ proc PlotExport {varname fn format} {
# besure we are on top
raise $var(top)
- # for darwin only
- set geom [DarwinPhotoFix]
-
set rr [catch {image create photo -format window -data $var(graph)} ph]
if {$rr} {
- DarwinPhotoRestore $geom
Error $iap(error)
return
}
@@ -586,7 +582,4 @@ proc PlotExport {varname fn format} {
}
image delete $ph
-
- # reset if needed
- DarwinPhotoRestore $geom
}