diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xwidget.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xwidget.c b/src/xwidget.c index 294e9f8788c..4d1d1169af9 100644 --- a/src/xwidget.c +++ b/src/xwidget.c | |||
| @@ -128,6 +128,9 @@ fails. */) | |||
| 128 | CHECK_FIXNAT (width); | 128 | CHECK_FIXNAT (width); |
| 129 | CHECK_FIXNAT (height); | 129 | CHECK_FIXNAT (height); |
| 130 | 130 | ||
| 131 | if (!EQ (type, Qwebkit)) | ||
| 132 | error ("Bad xwidget type"); | ||
| 133 | |||
| 131 | struct xwidget *xw = allocate_xwidget (); | 134 | struct xwidget *xw = allocate_xwidget (); |
| 132 | Lisp_Object val; | 135 | Lisp_Object val; |
| 133 | xw->type = type; | 136 | xw->type = type; |