forked from AuroraMiddleware/gtk
Merge branch 'gtk-3-24_inkscape2932' into 'gtk-3-24'
Backport css: Avoid a crash while parsing radial gradients See merge request GNOME/gtk!4161
This commit is contained in:
commit
7f8efb6b8d
@ -346,7 +346,7 @@ gtk_css_image_radial_parse (GtkCssImage *image,
|
||||
|
||||
if (has_size && !radial->circle)
|
||||
{
|
||||
if (!radial->sizes[1])
|
||||
if (radial->sizes[0] && !radial->sizes[1])
|
||||
radial->sizes[1] = _gtk_css_value_ref (radial->sizes[0]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user