summaryrefslogtreecommitdiff
path: root/desktop/gui_factory.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-04-19 16:23:08 +0100
committerVincent Sanders <vince@kyllikki.org>2017-04-19 16:23:08 +0100
commit14bff8d023891ad6cd02e5986dae4368dfdef80b (patch)
treeb28c30e14b1eb2cd4693725fb0096750d8511335 /desktop/gui_factory.c
parent7e0ed132f7d3edb1681badc1fadaf5a0812d7768 (diff)
downloadnetsurf-14bff8d023891ad6cd02e5986dae4368dfdef80b.tar.gz
netsurf-14bff8d023891ad6cd02e5986dae4368dfdef80b.tar.bz2
replace redraw and update methods with invalidate in window table API
Diffstat (limited to 'desktop/gui_factory.c')
-rw-r--r--desktop/gui_factory.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/desktop/gui_factory.c b/desktop/gui_factory.c
index 88bb9baf5..e1de21ea1 100644
--- a/desktop/gui_factory.c
+++ b/desktop/gui_factory.c
@@ -161,10 +161,7 @@ static nserror verify_window_register(struct gui_window_table *gwt)
if (gwt->destroy == NULL) {
return NSERROR_BAD_PARAMETER;
}
- if (gwt->redraw == NULL) {
- return NSERROR_BAD_PARAMETER;
- }
- if (gwt->update == NULL) {
+ if (gwt->invalidate == NULL) {
return NSERROR_BAD_PARAMETER;
}
if (gwt->get_scroll == NULL) {