[gtk+] css: Drop the new indent api again



commit 49aada63ee625966e221571c6e9aacdf42be47cf
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Sep 18 23:18:08 2017 -0400

    css: Drop the new indent api again
    
    It is not used anymore, and it was not a good idea.

 gtk/gtkcssstringvalue.c        |   28 ----------------------------
 gtk/gtkcssstringvalueprivate.h |    3 ---
 2 files changed, 0 insertions(+), 31 deletions(-)
---
diff --git a/gtk/gtkcssstringvalue.c b/gtk/gtkcssstringvalue.c
index ad29def..c12eb76 100644
--- a/gtk/gtkcssstringvalue.c
+++ b/gtk/gtkcssstringvalue.c
@@ -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)
 {
diff --git a/gtk/gtkcssstringvalueprivate.h b/gtk/gtkcssstringvalueprivate.h
index 0aaa9ec..5fb703b 100644
--- a/gtk/gtkcssstringvalueprivate.h
+++ b/gtk/gtkcssstringvalueprivate.h
@@ -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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]