diff options
author | Benjamin Otte <otte@redhat.com> | 2011-12-31 16:31:25 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-01-09 18:37:52 +0100 |
commit | 2128b356b2b2e9b14d1a33ef29bd435f1a52c153 (patch) | |
tree | c5d2bddc9f044ddc126bdac36fda50ce404484a6 /gtk/gtkcssshorthandpropertyprivate.h | |
parent | 4383701e258fcda37d980d5bd3114f028e567550 (diff) | |
download | gtk+-2128b356b2b2e9b14d1a33ef29bd435f1a52c153.tar.gz |
shorthand: Add a property for all subproperties
Diffstat (limited to 'gtk/gtkcssshorthandpropertyprivate.h')
-rw-r--r-- | gtk/gtkcssshorthandpropertyprivate.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtkcssshorthandpropertyprivate.h b/gtk/gtkcssshorthandpropertyprivate.h index 50eaa2ba57..c53bed7082 100644 --- a/gtk/gtkcssshorthandpropertyprivate.h +++ b/gtk/gtkcssshorthandpropertyprivate.h @@ -23,6 +23,8 @@ #include <glib-object.h> +#include "gtk/gtkcssparserprivate.h" +#include "gtk/gtkcssstylepropertyprivate.h" #include "gtk/gtkstylepropertyprivate.h" G_BEGIN_DECLS @@ -40,6 +42,8 @@ typedef struct _GtkCssShorthandPropertyClass GtkCssShorthandPropertyClass; struct _GtkCssShorthandProperty { GtkStyleProperty parent; + + GPtrArray *subproperties; }; struct _GtkCssShorthandPropertyClass @@ -51,6 +55,10 @@ void _gtk_css_shorthand_property_init_properties (void); GType _gtk_css_shorthand_property_get_type (void) G_GNUC_CONST; +GtkCssStyleProperty * _gtk_css_shorthand_property_get_subproperty (GtkCssShorthandProperty *shorthand, + guint property); +guint _gtk_css_shorthand_property_get_n_subproperties (GtkCssShorthandProperty *shorthand); + G_END_DECLS |