summaryrefslogtreecommitdiff
path: root/desktop/gui_factory.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2014-01-13 11:38:35 +0000
committerVincent Sanders <vince@netsurf-browser.org>2014-01-13 11:38:35 +0000
commitd70e371cd99d35859b0514884163447fa793738a (patch)
tree0c255ba4ecee52becc72086f48fceea4eb35e90e /desktop/gui_factory.c
parent7227c29bbacbc796e9f549cf21e8bd978fde5114 (diff)
downloadnetsurf-d70e371cd99d35859b0514884163447fa793738a.tar.gz
netsurf-d70e371cd99d35859b0514884163447fa793738a.tar.bz2
move two more mandantory window operations to table
Diffstat (limited to 'desktop/gui_factory.c')
-rw-r--r--desktop/gui_factory.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/gui_factory.c b/desktop/gui_factory.c
index a4cc1c9a9..62ec8c565 100644
--- a/desktop/gui_factory.c
+++ b/desktop/gui_factory.c
@@ -92,6 +92,13 @@ static nserror verify_window_register(struct gui_window_table *gwt)
if (gwt->set_scroll == NULL) {
return NSERROR_BAD_PARAMETER;
}
+ if (gwt->get_dimensions == NULL) {
+ return NSERROR_BAD_PARAMETER;
+ }
+ if (gwt->update_extent == NULL) {
+ return NSERROR_BAD_PARAMETER;
+ }
+
/* fill in the optional entries with defaults */
if (gwt->set_title == NULL) {