summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontext.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkstylecontext.c')
-rw-r--r--gtk/gtkstylecontext.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index b4a967e81a..7e8c2a0f7d 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -484,6 +484,12 @@ gtk_style_context_lookup_style (GtkStyleContext *context)
return gtk_css_node_get_style (context->priv->cssnode);
}
+GtkCssNode*
+gtk_style_context_get_node (GtkStyleContext *context)
+{
+ return context->priv->cssnode;
+}
+
static GtkStateFlags
gtk_style_context_push_state (GtkStyleContext *context,
GtkStateFlags state)