Drop the :dnd syntax altogether

This was only introduced a few weeks ago. We don't need to keep
this around, now that we support the proper CSS syntax.
This commit is contained in:
Matthias Clasen 2015-12-25 22:24:58 -05:00
parent 39b4efb24e
commit b3dbf3f41c

View File

@ -745,7 +745,7 @@ print_pseudoclass_state (const GtkCssSelector *selector,
"link",
"visited",
"checked",
"dnd"
"drop(active)"
};
guint i;
@ -1192,8 +1192,7 @@ parse_selector_pseudo_class (GtkCssParser *parser,
{ "link", GTK_STATE_FLAG_LINK, },
{ "visited", GTK_STATE_FLAG_VISITED, },
{ "checked", GTK_STATE_FLAG_CHECKED, },
{ "drop(active)", GTK_STATE_FLAG_DROP_ACTIVE, },
{ "dnd", GTK_STATE_FLAG_DROP_ACTIVE, }
{ "drop(active)", GTK_STATE_FLAG_DROP_ACTIVE, }
};
guint i;