cssprovider: Fix names for first and last child pseudo class

The correct name is :first-child, not :first
This commit is contained in:
Benjamin Otte 2011-07-20 11:59:15 +02:00
parent 4ead7b69ea
commit 5a1f371e12

View File

@ -1930,8 +1930,8 @@ parse_selector_pseudo_class (GtkCssScanner *scanner,
GtkRegionFlags region_flag;
GtkStateFlags state_flag;
} pseudo_classes[] = {
{ "first", GTK_REGION_FIRST, 0 },
{ "last", GTK_REGION_LAST, 0 },
{ "first-child", GTK_REGION_FIRST, 0 },
{ "last-child", GTK_REGION_LAST, 0 },
{ "sorted", GTK_REGION_SORTED, 0 },
{ "active", 0, GTK_STATE_FLAG_ACTIVE },
{ "prelight", 0, GTK_STATE_FLAG_PRELIGHT },