summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontextprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2015-01-20 00:33:34 +0100
committerBenjamin Otte <otte@redhat.com>2015-01-20 01:07:13 +0100
commitdbb8d1dd07a91171ba4a32119713c05e0483de91 (patch)
tree69cfffb22d7117e16e7253c637bb9afb0c797c2d /gtk/gtkstylecontextprivate.h
parent39d6ec167eaf87b2f94a49cee7702aaf458ee46b (diff)
downloadgtk+-dbb8d1dd07a91171ba4a32119713c05e0483de91.tar.gz
stylecontext: Keep track of the CSS ID
This is necessary since we do the new caching and need to distinguish between styles with different IDs. Fixes various test cases.
Diffstat (limited to 'gtk/gtkstylecontextprivate.h')
-rw-r--r--gtk/gtkstylecontextprivate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkstylecontextprivate.h b/gtk/gtkstylecontextprivate.h
index 4b9486693b..45f8ad27c3 100644
--- a/gtk/gtkstylecontextprivate.h
+++ b/gtk/gtkstylecontextprivate.h
@@ -29,6 +29,10 @@ G_BEGIN_DECLS
void _gtk_style_context_set_widget (GtkStyleContext *context,
GtkWidget *widget);
+void gtk_style_context_set_id (GtkStyleContext *context,
+ const char *id);
+const char * gtk_style_context_get_id (GtkStyleContext *context);
+
const GtkBitmask *
_gtk_style_context_get_changes (GtkStyleContext *context);