diff options
Diffstat (limited to 'desktop/gui_factory.c')
-rw-r--r-- | desktop/gui_factory.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop/gui_factory.c b/desktop/gui_factory.c index 73fb016e4..9cf328557 100644 --- a/desktop/gui_factory.c +++ b/desktop/gui_factory.c @@ -80,6 +80,12 @@ 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) { + return NSERROR_BAD_PARAMETER; + } /* fill in the optional entries with defaults */ if (gwt->set_title == NULL) { |