summaryrefslogtreecommitdiff
path: root/gtk/gtkcssvalue.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-04-03 18:39:01 +0200
committerBenjamin Otte <otte@redhat.com>2012-04-17 08:59:18 +0200
commitedbc8e4f57b871ee151443fe867f6e347682fe8d (patch)
treeae72342aeecd43394de441a76e2db86893f4e68c /gtk/gtkcssvalue.c
parent05f2249d08384d27ceea1e44ee4034a973fabb0c (diff)
downloadgtk+-edbc8e4f57b871ee151443fe867f6e347682fe8d.tar.gz
cssvalue: Add a value for border-radius corner properties
... and convert those properties to this value.
Diffstat (limited to 'gtk/gtkcssvalue.c')
-rw-r--r--gtk/gtkcssvalue.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/gtk/gtkcssvalue.c b/gtk/gtkcssvalue.c
index 25d3668df5..f2fd69a36d 100644
--- a/gtk/gtkcssvalue.c
+++ b/gtk/gtkcssvalue.c
@@ -312,17 +312,6 @@ _gtk_css_value_new_from_background_position (const GtkCssBackgroundPosition *v)
}
GtkCssValue *
-_gtk_css_value_new_from_border_corner_radius (const GtkCssBorderCornerRadius *v)
-{
- GtkCssValue *value;
-
- value = gtk_css_value_new (GTK_TYPE_CSS_BORDER_CORNER_RADIUS);
- value->u.ptr = g_boxed_copy0 (GTK_TYPE_CSS_BORDER_CORNER_RADIUS, v);
-
- return value;
-}
-
-GtkCssValue *
_gtk_css_value_new_from_border_image_repeat (const GtkCssBorderImageRepeat *v)
{
GtkCssValue *value;
@@ -579,13 +568,6 @@ _gtk_css_value_get_border_image_repeat (const GtkCssValue *value)
return value->u.ptr;
}
-const GtkCssBorderCornerRadius *
-_gtk_css_value_get_border_corner_radius (const GtkCssValue *value)
-{
- g_return_val_if_fail (_gtk_css_value_holds (value, GTK_TYPE_CSS_BORDER_CORNER_RADIUS), NULL);
- return value->u.ptr;
-}
-
GtkGradient *
_gtk_css_value_get_gradient (const GtkCssValue *value)
{