[gtk+] inspector: Widgets update automatically when CSS changes
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] inspector: Widgets update automatically when CSS changes
- Date: Fri, 11 Mar 2016 16:06:33 +0000 (UTC)
commit eeb945e4c16b6ff26d20e2452b4c33a133e12395
Author: Benjamin Otte <otte redhat com>
Date: Tue Mar 8 01:47:33 2016 +0100
inspector: Widgets update automatically when CSS changes
There's no need to force-invalidate their CSS.
gtk/inspector/css-editor.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/inspector/css-editor.c b/gtk/inspector/css-editor.c
index 4e1c40c..51d646b 100644
--- a/gtk/inspector/css-editor.c
+++ b/gtk/inspector/css-editor.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]