css: Fix printing of images

When there is only a call in a fallback image, we were errnoneously
printing out a comma before it.
This commit is contained in:
Matthias Clasen 2016-04-26 00:01:59 -04:00
parent 0eefe81f37
commit 3fd9bda06f

View File

@ -99,6 +99,7 @@ gtk_css_image_fallback_print (GtkCssImage *image,
}
if (fallback->color)
{
if (fallback->n_images > 0)
g_string_append (string, ",");
_gtk_css_value_print (fallback->color, string);
}