summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-04-22 23:13:24 +0100
committerVincent Sanders <vince@kyllikki.org>2015-04-22 23:14:51 +0100
commitde98108e7f5dde136164a6e74596d70fd1289397 (patch)
treebee10caaf3f76eaed32b91adebf7b0a45af84859 /desktop
parentdf3a8894357444704ec6c72df2dd3b2161e3f4c7 (diff)
downloadnetsurf-de98108e7f5dde136164a6e74596d70fd1289397.tar.gz
netsurf-de98108e7f5dde136164a6e74596d70fd1289397.tar.bz2
Add render to bitmap operations and update gtk to provide it.
Diffstat (limited to 'desktop')
-rw-r--r--desktop/gui_factory.c4
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;
}