summaryrefslogtreecommitdiff
path: root/gtk/gtkcssvalue.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-03-23 16:19:22 +0100
committerBenjamin Otte <otte@redhat.com>2012-04-17 08:59:10 +0200
commit4a12717e4d9d07c923c380747acc37278bbc9568 (patch)
treed8368a2b9f14fbc63bd2bbfb0d126603f05f07be /gtk/gtkcssvalue.c
parent585a1fae4f347d979c55f2848cd3afba7dc32c2e (diff)
downloadgtk+-4a12717e4d9d07c923c380747acc37278bbc9568.tar.gz
cssvalue: Remove unused functions
Diffstat (limited to 'gtk/gtkcssvalue.c')
-rw-r--r--gtk/gtkcssvalue.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/gtk/gtkcssvalue.c b/gtk/gtkcssvalue.c
index 32016f4c4c..ef1103bdba 100644
--- a/gtk/gtkcssvalue.c
+++ b/gtk/gtkcssvalue.c
@@ -194,17 +194,6 @@ _gtk_css_value_new_take_string (char *string)
return value;
}
-GtkCssValue *
-_gtk_css_value_new_from_string (const char *string)
-{
- GtkCssValue *value;
-
- value = _gtk_css_value_new (G_TYPE_STRING);
- value->u.ptr = g_strdup (string);
-
- return value;
-}
-
static gpointer
g_boxed_copy0 (GType boxed_type,
gconstpointer src_boxed)
@@ -491,25 +480,6 @@ _gtk_css_value_init_gvalue (GtkCssValue *value,
}
}
-void
-_gtk_css_value_to_gvalue (GtkCssValue *value,
- GValue *g_value)
-{
- if (value->type == G_VALUE_TYPE (g_value))
- fill_gvalue (value, g_value);
- else if (g_value_type_transformable (value->type, G_VALUE_TYPE (g_value)))
- {
- GValue v = G_VALUE_INIT;
- _gtk_css_value_init_gvalue (value, &v);
- g_value_transform (&v, g_value);
- g_value_unset (&v);
- }
- else
- g_warning ("can't convert css value of type `%s' as value of type `%s'",
- g_type_name (value->type),
- G_VALUE_TYPE_NAME (g_value));
-}
-
gboolean
_gtk_css_value_is_special (GtkCssValue *value)
{