forked from AuroraMiddleware/gtk
rendernodeparser: Fix mask mode handling
I had forgotten inverted-luminance, and also to print an error.
This commit is contained in:
parent
40e7a265a7
commit
951db28f71
@ -691,6 +691,7 @@ static const struct
|
||||
{ GSK_MASK_MODE_ALPHA, "alpha" },
|
||||
{ GSK_MASK_MODE_INVERTED_ALPHA, "inverted-alpha" },
|
||||
{ GSK_MASK_MODE_LUMINANCE, "luminance" },
|
||||
{ GSK_MASK_MODE_INVERTED_LUMINANCE, "inverted-luminance" },
|
||||
};
|
||||
|
||||
static const char *
|
||||
@ -720,6 +721,8 @@ parse_mask_mode (GtkCssParser *parser,
|
||||
}
|
||||
}
|
||||
|
||||
gtk_css_parser_error_syntax (parser, "Not a valid mask mode.");
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user