diff options
author | Benjamin Otte <otte@redhat.com> | 2011-12-31 19:28:59 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-01-09 18:37:52 +0100 |
commit | 0a3ac5efbced071e080af10e03748eb53e747807 (patch) | |
tree | 8cd60f23243ad6747ef318945c3ed36e340bcb24 /gtk/gtkcssstylepropertyprivate.h | |
parent | edb8bf4b1d9506770f67fc82ce0113ea54a8af1b (diff) | |
download | gtk+-0a3ac5efbced071e080af10e03748eb53e747807.tar.gz |
styleproperty: Move id handling
only real style properties can have an id, so let
GtkCssStylePropertyClass handle it.
Diffstat (limited to 'gtk/gtkcssstylepropertyprivate.h')
-rw-r--r-- | gtk/gtkcssstylepropertyprivate.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtkcssstylepropertyprivate.h b/gtk/gtkcssstylepropertyprivate.h index 923bd236d2..797c826491 100644 --- a/gtk/gtkcssstylepropertyprivate.h +++ b/gtk/gtkcssstylepropertyprivate.h @@ -38,15 +38,23 @@ typedef struct _GtkCssStylePropertyClass GtkCssStylePropertyClass; struct _GtkCssStyleProperty { GtkStyleProperty parent; + + guint id; }; struct _GtkCssStylePropertyClass { GtkStylePropertyClass parent_class; + + GPtrArray *style_properties; }; GType _gtk_css_style_property_get_type (void) G_GNUC_CONST; +guint _gtk_css_style_property_get_n_properties(void); +GtkCssStyleProperty * _gtk_css_style_property_lookup_by_id (guint id); + +guint _gtk_css_style_property_get_id (GtkCssStyleProperty *property); G_END_DECLS |