More defensive programming

The default widget style is actually null...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>