changeset 8262:c44db9bad841

allchild.m: move get showhiddenhandles outside of unwind_protect block
author John W. Eaton <jwe@octave.org>
date Wed, 22 Oct 2008 13:01:39 -0400
parents 4eb77147834d
children 22c078fd926b
files scripts/ChangeLog scripts/plot/allchild.m
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Wed Oct 22 17:14:10 2008 +0100
+++ b/scripts/ChangeLog	Wed Oct 22 13:01:39 2008 -0400
@@ -1,3 +1,8 @@
+2008-10-22  John W. Eaton  <jwe@octave.org>
+
+	* plot/allchild.m: Move call to get showhiddenhandles outside of
+	unwind_protect block.
+
 2008-10-22  David Bateman  <dbateman@free.fr>
 
 	* plot/refreshdata.m: Modify demo so that "y" is evaluated in the
--- a/scripts/plot/allchild.m	Wed Oct 22 17:14:10 2008 +0100
+++ b/scripts/plot/allchild.m	Wed Oct 22 13:01:39 2008 -0400
@@ -32,8 +32,8 @@
 
 function h = allchild (ha)
 
+  shh = get (0, "showhiddenhandles");
   unwind_protect
-    shh = get (0, "showhiddenhandles");
     set (0, "showhiddenhandles", "on");
     if (isscalar (ha))
       h = get (ha, "children");