forked from AuroraMiddleware/gtk
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:
parent
0eb62c1629
commit
e012dfab2c
@ -485,7 +485,6 @@ _gtk_css_area_value_try_parse (GtkCssParser *parser)
|
|||||||
GtkCssArea
|
GtkCssArea
|
||||||
_gtk_css_area_value_get (const GtkCssValue *value)
|
_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);
|
g_return_val_if_fail (value->class == >K_CSS_VALUE_AREA, GTK_CSS_AREA_BORDER_BOX);
|
||||||
|
|
||||||
return value->value;
|
return value->value;
|
||||||
|
Loading…
Reference in New Issue
Block a user