mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
Fix parsing of color names containing numbers
They were being defined correctly through @define-color in CSS, but parsing failed at the moment of creating GtkSymbolicColors depending on these.
This commit is contained in:
parent
bdacdfb78b
commit
3100b76ba9
@ -1982,7 +1982,7 @@ symbolic_color_parse_str (const gchar *string,
|
||||
str++;
|
||||
end = str;
|
||||
|
||||
while (*end == '-' || *end == '_' || g_ascii_isalpha (*end))
|
||||
while (*end == '-' || *end == '_' || g_ascii_isalnum (*end))
|
||||
end++;
|
||||
|
||||
name = g_strndup (str, end - str);
|
||||
|
Loading…
Reference in New Issue
Block a user