changeset 9397:394c7adb488f

graphics.h.in (gh_manager::restore_gcbo): fix decl for unwind-protect
author John W. Eaton <jwe@octave.org>
date Thu, 25 Jun 2009 12:24:09 -0400
parents 17af7cce7d1b
children 684312a5291c
files src/ChangeLog src/graphics.h.in
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Jun 25 13:57:38 2009 +0200
+++ b/src/ChangeLog	Thu Jun 25 12:24:09 2009 -0400
@@ -1,3 +1,8 @@
+2009-06-25  John W. Eaton  <jwe@octave.org>
+
+	* graphics.h.in (gh_manager::restore_gcbo):
+	Arg is now void, not void*.
+
 2009-06-25  Jaroslav Hajek  <highegg@gmail.com>
 
 	* unwind-prot.h (unwind_protect::fcn_elem): New class.
--- a/src/graphics.h.in	Thu Jun 25 13:57:38 2009 +0200
+++ b/src/graphics.h.in	Thu Jun 25 12:24:09 2009 -0400
@@ -3896,7 +3896,7 @@
 
   int do_process_events (bool force = false);
 
-  static void restore_gcbo (void*)
+  static void restore_gcbo (void)
   {
     if (instance_ok ())
       instance->do_restore_gcbo ();