summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/gtkcssimageradial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcssimageradial.c b/gtk/gtkcssimageradial.c
index 4ae434403c..1d4b99bc18 100644
--- a/gtk/gtkcssimageradial.c
+++ b/gtk/gtkcssimageradial.c
@@ -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]);
}