GtkStyleSet: Fix typo

This commit is contained in:
Carlos Garnacho 2010-09-11 12:10:25 +02:00
parent 58b6e538c9
commit 756bbf526f

View File

@ -748,7 +748,7 @@ gtk_style_set_get_valist (GtkStyleSet *set,
}
else if (G_VALUE_TYPE (val) == GTK_TYPE_GRADIENT)
{
g_return_val_if_fail (node->property_type == GDK_TYPE_CAIRO_PATTERN, FALSE);
g_return_if_fail (node->property_type == GDK_TYPE_CAIRO_PATTERN);
if (!resolve_gradient (set, val))
val = &node->default_value;