diff options
author | Benjamin Otte <otte@redhat.com> | 2012-04-04 18:25:43 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-04-17 08:59:19 +0200 |
commit | dcd54e20d14be57a9d080e87a47bbef8d2271c05 (patch) | |
tree | 51d860ee4fd38d14e702f4a93bd3ac1c1fd8aa80 /gtk/gtkcssnumbervalueprivate.h | |
parent | 1b69f1d7c2bd0d649a9ad8bda333cab3542a54ad (diff) | |
download | gtk+-dcd54e20d14be57a9d080e87a47bbef8d2271c05.tar.gz |
css: Remove GtkCssNumber
It's completely replaced by GtkCssNumberValue now.
Diffstat (limited to 'gtk/gtkcssnumbervalueprivate.h')
-rw-r--r-- | gtk/gtkcssnumbervalueprivate.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk/gtkcssnumbervalueprivate.h b/gtk/gtkcssnumbervalueprivate.h index 965b06d98e..ead4115082 100644 --- a/gtk/gtkcssnumbervalueprivate.h +++ b/gtk/gtkcssnumbervalueprivate.h @@ -26,8 +26,19 @@ G_BEGIN_DECLS +typedef enum /*< skip >*/ { + GTK_CSS_POSITIVE_ONLY = (1 << 0), + GTK_CSS_PARSE_PERCENT = (1 << 1), + GTK_CSS_PARSE_NUMBER = (1 << 2), + GTK_CSS_NUMBER_AS_PIXELS = (1 << 3), + GTK_CSS_PARSE_LENGTH = (1 << 4), + GTK_CSS_PARSE_ANGLE = (1 << 5), + GTK_CSS_PARSE_TIME = (1 << 6) +} GtkCssNumberParseFlags; + GtkCssValue * _gtk_css_number_value_new (double value, GtkCssUnit unit); +/* This function implemented in gtkcssparser.c */ GtkCssValue * _gtk_css_number_value_parse (GtkCssParser *parser, GtkCssNumberParseFlags flags); |