diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-01-14 16:42:31 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-01-14 18:32:05 -0500 |
commit | 94b1e72aa3278201258361d1baefa3a837eab773 (patch) | |
tree | 605d528b6c16faf78c14bf90fea91674156c59b6 /gtk/gtkcssstyleproperty.c | |
parent | 20b92638eccb0b08cd40849f196d644883ba4351 (diff) | |
download | gtk+-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.c | 30 |
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; -} - |