diff src/DLD-FUNCTIONS/fltk_backend.cc @ 8263:22c078fd926b

make fltk backend figures work again
author John W. Eaton <jwe@octave.org>
date Wed, 22 Oct 2008 13:28:43 -0400 (2008-10-22)
parents a4e03f9b4b8a
children f2f1d07a7f0f
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/fltk_backend.cc
+++ b/src/DLD-FUNCTIONS/fltk_backend.cc
@@ -764,7 +764,7 @@
     {
       // we scan all figures and add those which use FLTK as a backend
       graphics_object obj = gh_manager::get_object (0);
-      if (obj && obj.isa ("root_figure"))
+      if (obj && obj.isa ("root"))
 	{
 	  base_properties& props = obj.get_properties ();
 	  Matrix children = props.get_children ();