summaryrefslogtreecommitdiff
path: root/gtk/gtkcssnodedeclarationprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2015-02-09 11:24:29 +0100
committerBenjamin Otte <otte@redhat.com>2015-03-18 15:23:30 +0100
commit2bf7bdd651bb4cdec54831667c11fbead43b1246 (patch)
tree3b2cf4390a6e59dbcd3479f85c6eb7a1c2f13b35 /gtk/gtkcssnodedeclarationprivate.h
parent630f0f199ef791c3657472429d850242c973eefe (diff)
downloadgtk+-2bf7bdd651bb4cdec54831667c11fbead43b1246.tar.gz
cssmatcher: Allow widget path matcher to take a node declaration
The node declaration has the same functionality as gtk_css_node_declaration_add_to_widget_path(). So instead of using that function on a path, you can use the original path and the declaration in a matcher.
Diffstat (limited to 'gtk/gtkcssnodedeclarationprivate.h')
-rw-r--r--gtk/gtkcssnodedeclarationprivate.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/gtkcssnodedeclarationprivate.h b/gtk/gtkcssnodedeclarationprivate.h
index f2679748c8..9e715fe7d2 100644
--- a/gtk/gtkcssnodedeclarationprivate.h
+++ b/gtk/gtkcssnodedeclarationprivate.h
@@ -18,14 +18,12 @@
#ifndef __GTK_CSS_NODE_DECLARATION_PRIVATE_H__
#define __GTK_CSS_NODE_DECLARATION_PRIVATE_H__
+#include "gtkcsstypesprivate.h"
#include "gtkenums.h"
#include "gtkwidgetpath.h"
G_BEGIN_DECLS
-typedef struct _GtkCssNodeDeclaration GtkCssNodeDeclaration;
-
-
GtkCssNodeDeclaration * gtk_css_node_declaration_new (void);
GtkCssNodeDeclaration * gtk_css_node_declaration_ref (GtkCssNodeDeclaration *decl);
void gtk_css_node_declaration_unref (GtkCssNodeDeclaration *decl);