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:
parent
0eefe81f37
commit
3fd9bda06f
@ -99,6 +99,7 @@ gtk_css_image_fallback_print (GtkCssImage *image,
|
|||||||
}
|
}
|
||||||
if (fallback->color)
|
if (fallback->color)
|
||||||
{
|
{
|
||||||
|
if (fallback->n_images > 0)
|
||||||
g_string_append (string, ",");
|
g_string_append (string, ",");
|
||||||
_gtk_css_value_print (fallback->color, string);
|
_gtk_css_value_print (fallback->color, string);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user