diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c index ea3cb36c69..c189ea691c 100644 --- a/gtk/gtkcssstylepropertyimpl.c +++ b/gtk/gtkcssstylepropertyimpl.c @@ -476,7 +476,7 @@ bindings_value_parse_one (GtkCssParser *parser) return NULL; } - if (g_ascii_strcasecmp (name, "none")) + if (g_ascii_strcasecmp (name, "none") == 0) { name = NULL; }