cssvalue: Fix return_if_fail() calls...

This commit is contained in:
Benjamin Otte 2013-01-15 15:29:23 +01:00
parent 993e3f715f
commit b60478bb49

View File

@ -145,9 +145,9 @@ _gtk_css_color_value_resolve (GtkCssValue *color,
GtkCssDependencies unused;
GtkCssValue *value;
g_return_val_if_fail (color != NULL, FALSE);
g_return_val_if_fail (provider == NULL || GTK_IS_STYLE_PROVIDER_PRIVATE (provider), FALSE);
g_return_val_if_fail (current != NULL, FALSE);
g_return_val_if_fail (color != NULL, NULL);
g_return_val_if_fail (provider == NULL || GTK_IS_STYLE_PROVIDER_PRIVATE (provider), NULL);
g_return_val_if_fail (current != NULL, NULL);
if (dependencies == NULL)
dependencies = &unused;