summaryrefslogtreecommitdiff
path: root/gtk/gtkcssselectorprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-02-15 15:42:00 +0100
committerBenjamin Otte <otte@redhat.com>2012-03-02 02:17:09 +0100
commit67d0b8195d3659e1080b52457826c105b8200939 (patch)
treef6daae08d74cf4bbc2ec56f7b70e342108958541 /gtk/gtkcssselectorprivate.h
parentd859c921c563c9f602ae4462bf860c5fe91625a5 (diff)
downloadgtk+-67d0b8195d3659e1080b52457826c105b8200939.tar.gz
css: Move selector parsing code into a custom function
Diffstat (limited to 'gtk/gtkcssselectorprivate.h')
-rw-r--r--gtk/gtkcssselectorprivate.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/gtk/gtkcssselectorprivate.h b/gtk/gtkcssselectorprivate.h
index 860138132c..b74dfc5404 100644
--- a/gtk/gtkcssselectorprivate.h
+++ b/gtk/gtkcssselectorprivate.h
@@ -20,23 +20,13 @@
#include <gtk/gtkenums.h>
#include <gtk/gtkwidgetpath.h>
+#include "gtk/gtkcssparserprivate.h"
G_BEGIN_DECLS
-typedef enum {
- GTK_CSS_COMBINE_DESCANDANT,
- GTK_CSS_COMBINE_CHILD
-} GtkCssCombinator;
-
typedef struct _GtkCssSelector GtkCssSelector;
-GtkCssSelector * _gtk_css_selector_new (GtkCssSelector *previous,
- GtkCssCombinator combine,
- const char * name,
- GQuark * ids,
- GQuark * classes,
- GtkRegionFlags pseudo_classes,
- GtkStateFlags state);
+GtkCssSelector * _gtk_css_selector_parse (GtkCssParser *parser);
void _gtk_css_selector_free (GtkCssSelector *selector);
char * _gtk_css_selector_to_string (const GtkCssSelector *selector);