forked from AuroraMiddleware/gtk
Fix crash
This commit is contained in:
parent
b26da6ed4f
commit
024c11dd66
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user