From bf92f2f7ac5ac55b7ae4b59d8cd3a449d9ab5b20 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 30 Mar 2012 03:51:25 +0200 Subject: cssvalue: Do a hacky conversion of font-size to a number value Just store the value as px for now. The font-size property needs a complete makeover anyway. --- gtk/gtkcssvalueprivate.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'gtk/gtkcssvalueprivate.h') diff --git a/gtk/gtkcssvalueprivate.h b/gtk/gtkcssvalueprivate.h index 51a094144d..7d8448c677 100644 --- a/gtk/gtkcssvalueprivate.h +++ b/gtk/gtkcssvalueprivate.h @@ -75,7 +75,6 @@ GtkCssValue *_gtk_css_value_new_from_gvalue (const GValue GtkCssValue *_gtk_css_value_new_from_int (gint val); GtkCssValue *_gtk_css_value_new_from_enum (GType type, gint val); -GtkCssValue *_gtk_css_value_new_from_double (double d); GtkCssValue *_gtk_css_value_new_take_strv (char **strv); GtkCssValue *_gtk_css_value_new_from_boxed (GType type, gpointer boxed); @@ -93,7 +92,6 @@ void _gtk_css_value_init_gvalue (const GtkCssValue int _gtk_css_value_get_int (const GtkCssValue *value); int _gtk_css_value_get_enum (const GtkCssValue *value); -double _gtk_css_value_get_double (const GtkCssValue *value); gpointer _gtk_css_value_dup_object (const GtkCssValue *value); gpointer _gtk_css_value_get_object (const GtkCssValue *value); gpointer _gtk_css_value_get_boxed (const GtkCssValue *value); -- cgit v1.2.1