forked from AuroraMiddleware/gtk
css: Don't crash when printing gradients
... in the fallback code. Instead print a FIXME.
This commit is contained in:
parent
94c0c1542b
commit
5c4fc16cd4
@ -810,9 +810,11 @@ pattern_value_print (const GValue *value,
|
|||||||
}
|
}
|
||||||
surface_print (surface, string);
|
surface_print (surface, string);
|
||||||
break;
|
break;
|
||||||
case CAIRO_PATTERN_TYPE_SOLID:
|
|
||||||
case CAIRO_PATTERN_TYPE_LINEAR:
|
case CAIRO_PATTERN_TYPE_LINEAR:
|
||||||
case CAIRO_PATTERN_TYPE_RADIAL:
|
case CAIRO_PATTERN_TYPE_RADIAL:
|
||||||
|
g_string_append (string, "none /* FIXME: add support for printing gradients */");
|
||||||
|
break;
|
||||||
|
case CAIRO_PATTERN_TYPE_SOLID:
|
||||||
default:
|
default:
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user