mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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);
|
||||
break;
|
||||
case CAIRO_PATTERN_TYPE_SOLID:
|
||||
case CAIRO_PATTERN_TYPE_LINEAR:
|
||||
case CAIRO_PATTERN_TYPE_RADIAL:
|
||||
g_string_append (string, "none /* FIXME: add support for printing gradients */");
|
||||
break;
|
||||
case CAIRO_PATTERN_TYPE_SOLID:
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user