summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--demos/gtk-demo/css_basics.c2
-rw-r--r--demos/gtk-demo/css_multiplebgs.c2
-rw-r--r--demos/gtk-demo/css_pixbufs.c2
-rw-r--r--demos/gtk-demo/css_shadows.c2
-rw-r--r--tests/testboxcss.c2
5 files changed, 0 insertions, 10 deletions
diff --git a/demos/gtk-demo/css_basics.c b/demos/gtk-demo/css_basics.c
index 8ac7eb90a4..f7770b5510 100644
--- a/demos/gtk-demo/css_basics.c
+++ b/demos/gtk-demo/css_basics.c
@@ -47,8 +47,6 @@ css_text_changed (GtkTextBuffer *buffer,
text = gtk_text_buffer_get_text (buffer, &start, &end, FALSE);
gtk_css_provider_load_from_data (provider, text, -1);
g_free (text);
-
- gtk_style_context_reset_widgets (gdk_screen_get_default ());
}
static void
diff --git a/demos/gtk-demo/css_multiplebgs.c b/demos/gtk-demo/css_multiplebgs.c
index 920109c737..1f5adbcf65 100644
--- a/demos/gtk-demo/css_multiplebgs.c
+++ b/demos/gtk-demo/css_multiplebgs.c
@@ -47,8 +47,6 @@ css_text_changed (GtkTextBuffer *buffer,
text = gtk_text_buffer_get_text (buffer, &start, &end, FALSE);
gtk_css_provider_load_from_data (provider, text, -1);
g_free (text);
-
- gtk_style_context_reset_widgets (gdk_screen_get_default ());
}
static void
diff --git a/demos/gtk-demo/css_pixbufs.c b/demos/gtk-demo/css_pixbufs.c
index 1309094569..cb315aa263 100644
--- a/demos/gtk-demo/css_pixbufs.c
+++ b/demos/gtk-demo/css_pixbufs.c
@@ -46,8 +46,6 @@ css_text_changed (GtkTextBuffer *buffer,
text = gtk_text_buffer_get_text (buffer, &start, &end, FALSE);
gtk_css_provider_load_from_data (provider, text, -1);
g_free (text);
-
- gtk_style_context_reset_widgets (gdk_screen_get_default ());
}
static void
diff --git a/demos/gtk-demo/css_shadows.c b/demos/gtk-demo/css_shadows.c
index bbc6e5fadb..374f8a2d8e 100644
--- a/demos/gtk-demo/css_shadows.c
+++ b/demos/gtk-demo/css_shadows.c
@@ -45,8 +45,6 @@ css_text_changed (GtkTextBuffer *buffer,
text = gtk_text_buffer_get_text (buffer, &start, &end, FALSE);
gtk_css_provider_load_from_data (provider, text, -1);
g_free (text);
-
- gtk_style_context_reset_widgets (gdk_screen_get_default ());
}
static void
diff --git a/tests/testboxcss.c b/tests/testboxcss.c
index 3926d5b3ad..e4309aca73 100644
--- a/tests/testboxcss.c
+++ b/tests/testboxcss.c
@@ -83,8 +83,6 @@ css_text_changed (GtkTextBuffer *buffer,
text = gtk_text_buffer_get_text (buffer, &start, &end, FALSE);
gtk_css_provider_load_from_data (provider, text, -1);
g_free (text);
-
- gtk_style_context_reset_widgets (gdk_screen_get_default ());
}
static void