diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c index d764edce25..dc41a99b03 100644 --- a/gtk/gtkcssprovider.c +++ b/gtk/gtkcssprovider.c @@ -861,8 +861,6 @@ parse_selector (GtkCssProvider *css_provider, scanner->token != G_TOKEN_IDENTIFIER) return G_TOKEN_IDENTIFIER; - path = selector_path_new (); - while (scanner->token == G_TOKEN_IDENTIFIER) { if (g_ascii_isupper (scanner->value.v_identifier[0])) @@ -940,8 +938,6 @@ parse_selector (GtkCssProvider *css_provider, return G_TOKEN_LEFT_CURLY; } - *selector_out = path; - return G_TOKEN_NONE; }