forked from AuroraMiddleware/gtk
GtkCssProvider: move to next selector element on match or child combinator.
This commit is contained in:
parent
bc0af3208d
commit
0be4659c5d
@ -410,7 +410,6 @@ compare_selector (GtkWidgetPath *path,
|
||||
guint8 elem_score;
|
||||
|
||||
elem = elements->data;
|
||||
elements = elements->next;
|
||||
|
||||
match = compare_selector_element (path, i, elem, &elem_score);
|
||||
i++;
|
||||
@ -422,6 +421,8 @@ compare_selector (GtkWidgetPath *path,
|
||||
*/
|
||||
match = TRUE;
|
||||
}
|
||||
else
|
||||
elements = elements->next;
|
||||
|
||||
if (match)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user