symboliccolor: fix a critical warning

This was introduced in 0cc32eae62
This commit is contained in:
Cosimo Cecchi 2012-09-28 12:49:22 -04:00
parent 1454ba15ba
commit a2bef8ca51

View File

@ -740,7 +740,7 @@ _gtk_symbolic_color_resolve_full (GtkSymbolicColor *color,
GtkCssValue *value;
g_return_val_if_fail (color != NULL, FALSE);
g_return_val_if_fail (GTK_IS_STYLE_PROVIDER_PRIVATE (provider), FALSE);
g_return_val_if_fail (provider == NULL || GTK_IS_STYLE_PROVIDER_PRIVATE (provider), FALSE);
g_return_val_if_fail (current != NULL, FALSE);
if (dependencies == NULL)