forked from AuroraMiddleware/gtk
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,7 +99,8 @@ gtk_css_image_fallback_print (GtkCssImage *image,
|
||||
}
|
||||
if (fallback->color)
|
||||
{
|
||||
g_string_append (string, ",");
|
||||
if (fallback->n_images > 0)
|
||||
g_string_append (string, ",");
|
||||
_gtk_css_value_print (fallback->color, string);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user