Add type checking to WidgetConfig.
Merge remote-tracking branch 'origin/master' into gtk3

Conflicts:
	src/libaudgui/prefs-widget.cc