[gtk/wip/matthiasc/css-values] Revert "wip: reimplement css matching from scratch"



commit 6d4fa83b79fc61513b9217696862c547c2a02315
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jan 13 17:23:22 2020 -0500

    Revert "wip: reimplement css matching from scratch"
    
    This reverts commit 7047a2e9c6f32da068bbfef78c6a4bda2d7d39f2.

 gtk/gtkcssprovider.c       |    2 +-
 gtk/gtkcssselectorsimple.c | 1799 --------------------------------------------
 gtk/meson.build            |    2 +-
 3 files changed, 2 insertions(+), 1801 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index e4bf03f93f..51cc416928 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -1458,7 +1458,7 @@ gtk_css_ruleset_print (const GtkCssRuleset *ruleset,
 {
   guint i;
 
-  //_gtk_css_selector_tree_match_print (ruleset->selector_match, str);
+  _gtk_css_selector_tree_match_print (ruleset->selector_match, str);
 
   g_string_append (str, " {\n");
 
diff --git a/gtk/meson.build b/gtk/meson.build
index 45a4c12124..b36248f72d 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -82,7 +82,7 @@ gtk_private_sources = files([
   'gtkcsspathnode.c',
   'gtkcsspositionvalue.c',
   'gtkcssrepeatvalue.c',
-  'gtkcssselectorsimple.c',
+  'gtkcssselector.c',
   'gtkcssshadowsvalue.c',
   'gtkcssshadowvalue.c',
   'gtkcssshorthandproperty.c',


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