inspector: Widgets update automatically when CSS changes
There's no need to force-invalidate their CSS.
This commit is contained in:
@ -227,8 +227,6 @@ update_style (GtkInspectorCssEditor *ce)
|
|||||||
text = get_current_text (ce->priv->text);
|
text = get_current_text (ce->priv->text);
|
||||||
gtk_css_provider_load_from_data (ce->priv->provider, text, -1, NULL);
|
gtk_css_provider_load_from_data (ce->priv->provider, text, -1, NULL);
|
||||||
g_free (text);
|
g_free (text);
|
||||||
|
|
||||||
gtk_style_context_reset_widgets (gdk_screen_get_default ());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
|||||||
Reference in New Issue
Block a user