diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-04-22 23:13:24 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-04-22 23:14:51 +0100 |
commit | de98108e7f5dde136164a6e74596d70fd1289397 (patch) | |
tree | bee10caaf3f76eaed32b91adebf7b0a45af84859 /desktop/gui_factory.c | |
parent | df3a8894357444704ec6c72df2dd3b2161e3f4c7 (diff) | |
download | netsurf-de98108e7f5dde136164a6e74596d70fd1289397.tar.gz netsurf-de98108e7f5dde136164a6e74596d70fd1289397.tar.bz2 |
Add render to bitmap operations and update gtk to provide it.
Diffstat (limited to 'desktop/gui_factory.c')
-rw-r--r-- | desktop/gui_factory.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/gui_factory.c b/desktop/gui_factory.c index cab11eb0a..50244e334 100644 --- a/desktop/gui_factory.c +++ b/desktop/gui_factory.c @@ -620,6 +620,10 @@ static nserror verify_bitmap_register(struct gui_bitmap_table *gbt) return NSERROR_BAD_PARAMETER; } + if (gbt->render == NULL) { + return NSERROR_BAD_PARAMETER; + } + return NSERROR_OK; } |