Don't return FALSE from a non-boolean function

https://bugzilla.gnome.org/show_bug.cgi?id=696608
This commit is contained in:
Matthias Clasen 2013-03-26 23:30:10 -04:00
parent 4987728d7a
commit bdfd0d4638

View File

@ -583,7 +583,7 @@ css_image_value_parse (GtkCssStyleProperty *property,
{
image = _gtk_css_image_new_parse (parser);
if (image == NULL)
return FALSE;
return NULL;
}
return _gtk_css_image_value_new (image);