summaryrefslogtreecommitdiff
path: root/gtk/gtkcssstyleproperty.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-01-14 16:42:31 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-01-14 18:32:05 -0500
commit94b1e72aa3278201258361d1baefa3a837eab773 (patch)
tree605d528b6c16faf78c14bf90fea91674156c59b6 /gtk/gtkcssstyleproperty.c
parent20b92638eccb0b08cd40849f196d644883ba4351 (diff)
downloadgtk+-94b1e72aa3278201258361d1baefa3a837eab773.tar.gz
css: Remove an unused function
_gtk_css_style_property_get_mask_affecting was superseded by GtkCssStyleChange back in 2015.
Diffstat (limited to 'gtk/gtkcssstyleproperty.c')
-rw-r--r--gtk/gtkcssstyleproperty.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/gtk/gtkcssstyleproperty.c b/gtk/gtkcssstyleproperty.c
index bdc7fb853e..7a7b77c084 100644
--- a/gtk/gtkcssstyleproperty.c
+++ b/gtk/gtkcssstyleproperty.c
@@ -372,33 +372,3 @@ _gtk_css_style_property_get_initial_value (GtkCssStyleProperty *property)
return property->initial_value;
}
-
-/**
- * _gtk_css_style_property_get_mask_affecting:
- * @flags: the flags that are affected
- *
- * Computes a bitmask for all properties that have at least one of @flags
- * set.
- *
- * Returns: (transfer full): A #GtkBitmask with the bit set for every
- * property that has at least one of @flags set.
- */
-GtkBitmask *
-_gtk_css_style_property_get_mask_affecting (GtkCssAffects affects)
-{
- GtkBitmask *result;
- guint i;
-
- result = _gtk_bitmask_new ();
-
- for (i = 0; i < _gtk_css_style_property_get_n_properties (); i++)
- {
- GtkCssStyleProperty *prop = _gtk_css_style_property_lookup_by_id (i);
-
- if (_gtk_css_style_property_get_affects (prop) & affects)
- result = _gtk_bitmask_set (result, i, TRUE);
- }
-
- return result;
-}
-