diff scripts/plot/uiputfile.m @ 11576:8ac9687dbe9f

rename backend to graphics_toolkit
author John W. Eaton <jwe@octave.org>
date Thu, 20 Jan 2011 02:29:57 -0500
parents 3c6e8aaa9555
children c4c2cd67c440
line wrap: on
line diff
--- a/scripts/plot/uiputfile.m
+++ b/scripts/plot/uiputfile.m
@@ -89,10 +89,10 @@
     error ("uiputfile: number of input arguments must be less than four.");
   endif
 
-  if (any (cellfun(@(x)strcmp (x, "fltk"), available_backends)))
+  if (any (cellfun(@(x)strcmp (x, "fltk"), available_graphics_toolkits ())))
     [retfile, retpath, retindex] = __fltk_uigetfile__ (outargs{:});  
   else
-    error ("uiputfile: fltk backend required.");
+    error ("uiputfile: fltk graphics toolkit required");
   endif
 
 endfunction