Revert "Fix crash"

This reverts commit 024c11dd66.

It's not a crash fix to cause a return_val_if_fail() to happen.
This commit is contained in:
Benjamin Otte 2014-05-22 22:35:39 +02:00
parent 0eb62c1629
commit e012dfab2c

View File

@ -485,7 +485,6 @@ _gtk_css_area_value_try_parse (GtkCssParser *parser)
GtkCssArea
_gtk_css_area_value_get (const GtkCssValue *value)
{
g_return_val_if_fail (value != NULL, GTK_CSS_AREA_BORDER_BOX);
g_return_val_if_fail (value->class == &GTK_CSS_VALUE_AREA, GTK_CSS_AREA_BORDER_BOX);
return value->value;