Mercurial > octave-nkf
changeset 19063: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 | c419e5487d0d |
children | 9ef10e6a5987 |
files | scripts/plot/util/figure.m |
diffstat | 1 files changed, 1 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/util/figure.m Mon Aug 18 23:44:25 2014 +0200 +++ b/scripts/plot/util/figure.m Mon Aug 18 20:46:07 2014 -0700 @@ -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{:});