inspector: Widgets update automatically when CSS changes

There's no need to force-invalidate their CSS.
This commit is contained in:
Benjamin Otte 2016-03-08 01:47:33 +01:00
parent b7285592f9
commit eeb945e4c1

View File

@ -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