summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmate-panel-applet/mate-panel-applet.c1
-rw-r--r--mate-panel/panel-background.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/libmate-panel-applet/mate-panel-applet.c b/libmate-panel-applet/mate-panel-applet.c
index 57520218..4e652ba4 100644
--- a/libmate-panel-applet/mate-panel-applet.c
+++ b/libmate-panel-applet/mate-panel-applet.c
@@ -1981,7 +1981,6 @@ void _mate_panel_applet_apply_css(GtkWidget* widget, MatePanelAppletBackgroundTy
GtkStyleContext* context;
context = gtk_widget_get_style_context (widget);
- gtk_widget_reset_style (widget);
switch (type) {
case PANEL_NO_BACKGROUND:
diff --git a/mate-panel/panel-background.c b/mate-panel/panel-background.c
index ecfc7c1e..d346a4f2 100644
--- a/mate-panel/panel-background.c
+++ b/mate-panel/panel-background.c
@@ -104,7 +104,6 @@ void panel_background_apply_css (GtkWidget* widget, PanelBackground *background)
context = gtk_widget_get_style_context (widget);
effective_type = panel_background_effective_type (background);
- gtk_widget_reset_style (widget);
switch (effective_type) {
case PANEL_BACK_NONE: