diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-04-26 09:43:18 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-04-26 09:43:18 +0100 |
commit | bd932d958b022c5fe02c76e976d3871d8651843b (patch) | |
tree | 4022b23875df5be7ad0eaa144325ed96aad1eb4e /desktop/gui_factory.c | |
parent | 31d98a1d2e5081ef2ca2d941f7e3b92344185399 (diff) | |
download | netsurf-bd932d958b022c5fe02c76e976d3871d8651843b.tar.gz netsurf-bd932d958b022c5fe02c76e976d3871d8651843b.tar.bz2 |
remove reformat from browser window operation table
the reformat callback was completely unecessary and implementations
appeared potentialy buggy. This rationalises the API and reduces the
number of operations a frontend must provide.
Diffstat (limited to 'desktop/gui_factory.c')
-rw-r--r-- | desktop/gui_factory.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/desktop/gui_factory.c b/desktop/gui_factory.c index e1de21ea1..559823d61 100644 --- a/desktop/gui_factory.c +++ b/desktop/gui_factory.c @@ -176,9 +176,6 @@ static nserror verify_window_register(struct gui_window_table *gwt) if (gwt->update_extent == NULL) { return NSERROR_BAD_PARAMETER; } - if (gwt->reformat == NULL) { - return NSERROR_BAD_PARAMETER; - } /* fill in the optional entries with defaults */ |