summaryrefslogtreecommitdiff
path: root/gtk/gtkcsscomputedvalues.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-03-31 05:45:28 +0200
committerBenjamin Otte <otte@redhat.com>2012-04-17 08:59:16 +0200
commita360e77a7b742933a4eccf5f58c1cdf7bfcf34e4 (patch)
tree9c20adbb831d90f9ca7b3b86bdf10aaf6afa0acd /gtk/gtkcsscomputedvalues.c
parent31565139bacde73f519f8e5a4c40e98b53100313 (diff)
downloadgtk+-a360e77a7b742933a4eccf5f58c1cdf7bfcf34e4.tar.gz
css: Remove _gtk_css_computed_values_get_value_by_name()
Now that we use an enum for the IDs, we don't need that function anymore.
Diffstat (limited to 'gtk/gtkcsscomputedvalues.c')
-rw-r--r--gtk/gtkcsscomputedvalues.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gtk/gtkcsscomputedvalues.c b/gtk/gtkcsscomputedvalues.c
index 44a7f97e25..a3b51d506e 100644
--- a/gtk/gtkcsscomputedvalues.c
+++ b/gtk/gtkcsscomputedvalues.c
@@ -214,21 +214,6 @@ _gtk_css_computed_values_get_value (GtkCssComputedValues *values,
return g_ptr_array_index (values->values, id);
}
-GtkCssValue *
-_gtk_css_computed_values_get_value_by_name (GtkCssComputedValues *values,
- const char *name)
-{
- GtkStyleProperty *prop;
-
- g_return_val_if_fail (GTK_IS_CSS_COMPUTED_VALUES (values), NULL);
- g_return_val_if_fail (name != NULL, NULL);
-
- prop = _gtk_style_property_lookup (name);
- g_assert (GTK_IS_CSS_STYLE_PROPERTY (prop));
-
- return _gtk_css_computed_values_get_value (values, _gtk_css_style_property_get_id (GTK_CSS_STYLE_PROPERTY (prop)));
-}
-
GtkCssSection *
_gtk_css_computed_values_get_section (GtkCssComputedValues *values,
guint id)