diff options
author | Benjamin Otte <otte@redhat.com> | 2012-01-02 02:05:05 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-01-09 18:37:53 +0100 |
commit | 01548bfcbe71cb2b211fd5878c2dc0c3579c277e (patch) | |
tree | f30bc12cef0c5347cf6de1f6a9bc277936f84a1d /gtk/gtkcssshorthandpropertyprivate.h | |
parent | e876d9fed586d6486894b3c6652a07a47557f20e (diff) | |
download | gtk+-01548bfcbe71cb2b211fd5878c2dc0c3579c277e.tar.gz |
shorthand: Redo shorthand value parsing
The new approach does not need unpack functions anymore.
Diffstat (limited to 'gtk/gtkcssshorthandpropertyprivate.h')
-rw-r--r-- | gtk/gtkcssshorthandpropertyprivate.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkcssshorthandpropertyprivate.h b/gtk/gtkcssshorthandpropertyprivate.h index c53bed7082..c07d36c0b6 100644 --- a/gtk/gtkcssshorthandpropertyprivate.h +++ b/gtk/gtkcssshorthandpropertyprivate.h @@ -39,11 +39,17 @@ G_BEGIN_DECLS typedef struct _GtkCssShorthandProperty GtkCssShorthandProperty; typedef struct _GtkCssShorthandPropertyClass GtkCssShorthandPropertyClass; +typedef gboolean (* GtkCssShorthandPropertyParseFunc) (GtkCssShorthandProperty *shorthand, + GValue *values, + GtkCssParser *parser, + GFile *base); struct _GtkCssShorthandProperty { GtkStyleProperty parent; GPtrArray *subproperties; + + GtkCssShorthandPropertyParseFunc parse; }; struct _GtkCssShorthandPropertyClass |