widget: Remove gtk_widget_invalidate_style_context

This commit is contained in:
Timm Bäder 2016-11-22 12:05:48 +01:00
parent cd2b898353
commit 3063d4a5e3
2 changed files with 1 additions and 10 deletions

View File

@ -8653,7 +8653,7 @@ _gtk_widget_propagate_screen_changed (GtkWidget *widget,
static void
reset_style_recurse (GtkWidget *widget, gpointer data)
{
_gtk_widget_invalidate_style_context (widget, GTK_CSS_CHANGE_ANY);
gtk_css_node_invalidate (widget->priv->cssnode, GTK_CSS_CHANGE_ANY);
if (GTK_IS_CONTAINER (widget))
gtk_container_forall (GTK_CONTAINER (widget),
@ -14695,13 +14695,6 @@ gtk_widget_get_style_context (GtkWidget *widget)
return widget->priv->context;
}
void
_gtk_widget_invalidate_style_context (GtkWidget *widget,
GtkCssChange change)
{
gtk_css_node_invalidate (widget->priv->cssnode, change);
}
/**
* gtk_widget_get_modifier_mask:
* @widget: a #GtkWidget

View File

@ -246,8 +246,6 @@ gboolean _gtk_widget_captured_event (GtkWidget *widget,
GtkWidgetPath * _gtk_widget_create_path (GtkWidget *widget);
void gtk_widget_clear_path (GtkWidget *widget);
void _gtk_widget_invalidate_style_context (GtkWidget *widget,
GtkCssChange change);
void _gtk_widget_style_context_invalidated (GtkWidget *widget);
void _gtk_widget_update_parent_muxer (GtkWidget *widget);