diff libinterp/interpfcn/graphics.cc @ 15423:53d073233fa4

call more built-in functions directly * __init_gnuplot__.cc (gnuplot_graphics_toolkit::send_quit): Call built-in functions directly. * graphics.cc (gh_manager::do_process_events): Likewise. * sysdep.cc (Fkbhit, Fpause, Fsleep, Fusleep): Likewise.
author John W. Eaton <jwe@octave.org>
date Wed, 19 Sep 2012 15:34:15 -0400
parents 61822c866ba1
children 049e8bbff782
line wrap: on
line diff
--- a/libinterp/interpfcn/graphics.cc	Wed Sep 19 15:28:10 2012 -0400
+++ b/libinterp/interpfcn/graphics.cc	Wed Sep 19 15:34:15 2012 -0400
@@ -42,6 +42,7 @@
 #include "oct-locbuf.h"
 #include "singleton-cleanup.h"
 
+#include "builtins.h"
 #include "cutils.h"
 #include "defun.h"
 #include "display.h"
@@ -8202,7 +8203,7 @@
 
   if (Vdrawnow_requested && ! old_Vdrawnow_requested)
     {
-      feval ("drawnow");
+      Fdrawnow ();
 
       Vdrawnow_requested = false;
     }