forked from AuroraMiddleware/gtk
widget: Remove gtk_widget_invalidate_style_context
This commit is contained in:
parent
cd2b898353
commit
3063d4a5e3
@ -8653,7 +8653,7 @@ _gtk_widget_propagate_screen_changed (GtkWidget *widget,
|
|||||||
static void
|
static void
|
||||||
reset_style_recurse (GtkWidget *widget, gpointer data)
|
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))
|
if (GTK_IS_CONTAINER (widget))
|
||||||
gtk_container_forall (GTK_CONTAINER (widget),
|
gtk_container_forall (GTK_CONTAINER (widget),
|
||||||
@ -14695,13 +14695,6 @@ gtk_widget_get_style_context (GtkWidget *widget)
|
|||||||
return widget->priv->context;
|
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:
|
* gtk_widget_get_modifier_mask:
|
||||||
* @widget: a #GtkWidget
|
* @widget: a #GtkWidget
|
||||||
|
@ -246,8 +246,6 @@ gboolean _gtk_widget_captured_event (GtkWidget *widget,
|
|||||||
|
|
||||||
GtkWidgetPath * _gtk_widget_create_path (GtkWidget *widget);
|
GtkWidgetPath * _gtk_widget_create_path (GtkWidget *widget);
|
||||||
void gtk_widget_clear_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_style_context_invalidated (GtkWidget *widget);
|
||||||
|
|
||||||
void _gtk_widget_update_parent_muxer (GtkWidget *widget);
|
void _gtk_widget_update_parent_muxer (GtkWidget *widget);
|
||||||
|
Loading…
Reference in New Issue
Block a user