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