css: Drop the new indent api again

It is not used anymore, and it was not a good idea.
This commit is contained in:
Matthias Clasen 2017-09-18 23:18:08 -04:00
parent 6859f0a6d1
commit 49aada63ee
2 changed files with 0 additions and 31 deletions

View File

@ -203,34 +203,6 @@ _gtk_css_ident_value_try_parse (GtkCssParser *parser)
return _gtk_css_ident_value_new_take (ident);
}
GtkCssValue *
_gtk_css_ident_value_try (GtkCssParser *parser,
const char *ident,
...)
{
va_list args;
const char *name;
GtkCssValue *value = NULL;
name = ident;
va_start (args, ident);
while (name)
{
if (_gtk_css_parser_try (parser, name, TRUE))
{
value = _gtk_css_ident_value_new (name);
break;
}
ident = va_arg (args, const char *);
}
va_end (args);
return value;
}
const char *
_gtk_css_ident_value_get (const GtkCssValue *value)
{

View File

@ -29,9 +29,6 @@ G_BEGIN_DECLS
GtkCssValue * _gtk_css_ident_value_new (const char *ident);
GtkCssValue * _gtk_css_ident_value_new_take (char *ident);
GtkCssValue * _gtk_css_ident_value_try_parse (GtkCssParser *parser);
GtkCssValue * _gtk_css_ident_value_try (GtkCssParser *parser,
const char *ident,
...);
const char * _gtk_css_ident_value_get (const GtkCssValue *ident);