StThemeNode: support border-image: none
Treat border-image: none as a valid specification that overwrites any previously specified border image. https://bugzilla.gnome.org/show_bug.cgi?id=644788
This commit is contained in:
parent
70ae700461
commit
adbc1d97a0
@ -2518,6 +2518,15 @@ st_theme_node_get_border_image (StThemeNode *node)
|
||||
|
||||
char *filename;
|
||||
|
||||
/* Support border-image: none; to suppress a previously specified border image */
|
||||
if (term_is_none (term))
|
||||
{
|
||||
if (term->next == NULL)
|
||||
return NULL;
|
||||
else
|
||||
goto next_property;
|
||||
}
|
||||
|
||||
/* First term must be the URL to the image */
|
||||
if (term->type != TERM_URI)
|
||||
goto next_property;
|
||||
|
Loading…
Reference in New Issue
Block a user