cssgadget: Remove unused function

This commit is contained in:
Timm Bäder 2016-05-05 08:47:40 +02:00
parent f7e6385506
commit c1d1d46d34

View File

@ -939,29 +939,6 @@ gtk_css_gadget_draw (GtkCssGadget *gadget,
#endif
}
void
gtk_css_node_style_changed_for_widget (GtkCssNode *node,
GtkCssStyle *old_style,
GtkCssStyle *new_style,
GtkWidget *widget)
{
static GtkBitmask *affects_size = NULL;
GtkBitmask *changes;
changes = _gtk_bitmask_new ();
changes = gtk_css_style_add_difference (changes, old_style, new_style);
if (G_UNLIKELY (affects_size == NULL))
affects_size = _gtk_css_style_property_get_mask_affecting (GTK_CSS_AFFECTS_SIZE | GTK_CSS_AFFECTS_CLIP);
if (_gtk_bitmask_intersects (changes, affects_size))
gtk_widget_queue_resize (widget);
else
gtk_widget_queue_draw (widget);
_gtk_bitmask_free (changes);
}
void
gtk_css_gadget_queue_resize (GtkCssGadget *gadget)
{