diff --git a/gtk/gtkcssenumvalue.c b/gtk/gtkcssenumvalue.c index a8c807b155..08ae60acda 100644 --- a/gtk/gtkcssenumvalue.c +++ b/gtk/gtkcssenumvalue.c @@ -485,6 +485,7 @@ _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 == >K_CSS_VALUE_AREA, GTK_CSS_AREA_BORDER_BOX); return value->value;