summaryrefslogtreecommitdiff
path: root/gtk/gtkcssnumbervalue.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-04-04 18:25:43 +0200
committerBenjamin Otte <otte@redhat.com>2012-04-17 08:59:19 +0200
commitdcd54e20d14be57a9d080e87a47bbef8d2271c05 (patch)
tree51d860ee4fd38d14e702f4a93bd3ac1c1fd8aa80 /gtk/gtkcssnumbervalue.c
parent1b69f1d7c2bd0d649a9ad8bda333cab3542a54ad (diff)
downloadgtk+-dcd54e20d14be57a9d080e87a47bbef8d2271c05.tar.gz
css: Remove GtkCssNumber
It's completely replaced by GtkCssNumberValue now.
Diffstat (limited to 'gtk/gtkcssnumbervalue.c')
-rw-r--r--gtk/gtkcssnumbervalue.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gtk/gtkcssnumbervalue.c b/gtk/gtkcssnumbervalue.c
index 531942bca3..aab2bc2d56 100644
--- a/gtk/gtkcssnumbervalue.c
+++ b/gtk/gtkcssnumbervalue.c
@@ -127,20 +127,6 @@ _gtk_css_number_value_new (double value,
return result;
}
-GtkCssValue *
-_gtk_css_number_value_parse (GtkCssParser *parser,
- GtkCssNumberParseFlags flags)
-{
- GtkCssNumber number;
-
- g_return_val_if_fail (parser != NULL, NULL);
-
- if (!_gtk_css_parser_read_number (parser, &number, flags))
- return NULL;
-
- return _gtk_css_number_value_new (number.value, number.unit);
-}
-
GtkCssUnit
_gtk_css_number_value_get_unit (const GtkCssValue *value)
{