GtkCssProvider: move to next selector element on match or child combinator.

This commit is contained in:
Carlos Garnacho 2010-04-23 01:23:27 +02:00
parent bc0af3208d
commit 0be4659c5d

View File

@ -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)
{