Mercurial > hg > octave-nkf
diff scripts/plot/util/figure.m @ 19221:8c648c3a2c8f
figure.m: Remove obsolete hack for bug #31931 on Mac platforms.
* figure.m: Remove obsolete hack for bug #31931 on Mac platforms.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 18 Aug 2014 20:46:07 -0700 |
parents | a9bb634679f8 |
children | 0e1f5a750d00 |
line wrap: on
line diff
--- a/scripts/plot/util/figure.m +++ b/scripts/plot/util/figure.m @@ -83,16 +83,7 @@ endif if (init_new_figure) - if (ismac () && strcmp (graphics_toolkit (), "fltk")) - ## FIXME: Hack for fltk-aqua to work around bug #31931 - f = __go_figure__ (f); - drawnow (); - if (! isempty (varargin)) - set (f, varargin{:}); - endif - else - f = __go_figure__ (f, varargin{:}); - endif + f = __go_figure__ (f, varargin{:}); __add_default_menu__ (f); elseif (nargs > 0) set (f, varargin{:});