summaryrefslogtreecommitdiff
path: root/gtk/gtkcssvalue.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-03-28 09:04:54 +0200
committerBenjamin Otte <otte@redhat.com>2012-04-17 08:59:14 +0200
commitd63b11e56b0c1a9620d3a7f723baa24b02ff2867 (patch)
treeb431fe9ee5cbcb8780de2c200412945e9a8025f2 /gtk/gtkcssvalue.c
parentb65d17dda8f33ce205989695f6f8c89602ababd5 (diff)
downloadgtk+-d63b11e56b0c1a9620d3a7f723baa24b02ff2867.tar.gz
cssvalue: Add enum values for the pango enums
And fix the parser to conform to the CSS spec while at it.
Diffstat (limited to 'gtk/gtkcssvalue.c')
-rw-r--r--gtk/gtkcssvalue.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/gtk/gtkcssvalue.c b/gtk/gtkcssvalue.c
index 99879a853e..069a8a2fe2 100644
--- a/gtk/gtkcssvalue.c
+++ b/gtk/gtkcssvalue.c
@@ -605,27 +605,6 @@ _gtk_css_value_get_border_corner_radius (const GtkCssValue *value)
return value->u.ptr;
}
-PangoStyle
-_gtk_css_value_get_pango_style (const GtkCssValue *value)
-{
- g_return_val_if_fail (_gtk_css_value_holds (value, PANGO_TYPE_STYLE), 0);
- return value->u.gint;
-}
-
-PangoVariant
-_gtk_css_value_get_pango_variant (const GtkCssValue *value)
-{
- g_return_val_if_fail (_gtk_css_value_holds (value, PANGO_TYPE_VARIANT), 0);
- return value->u.gint;
-}
-
-PangoWeight
-_gtk_css_value_get_pango_weight (const GtkCssValue *value)
-{
- g_return_val_if_fail (_gtk_css_value_holds (value, PANGO_TYPE_WEIGHT), 0);
- return value->u.gint;
-}
-
GtkGradient *
_gtk_css_value_get_gradient (const GtkCssValue *value)
{