summaryrefslogtreecommitdiff
path: root/mate-panel/panel-background.c
diff options
context:
space:
mode:
authorBalló György <[email protected]>2015-12-15 09:52:51 +0100
committerBalló György <[email protected]>2015-12-15 09:52:51 +0100
commit2655fb52147cf2426590d375a6fccc97b7997bf3 (patch)
tree8ce539ee65c18188c277583357ced8ba44b4b7e0 /mate-panel/panel-background.c
parentde92b6a96f46f5ef57976d28e592c499472d24b1 (diff)
downloadmate-panel-2655fb52147cf2426590d375a6fccc97b7997bf3.tar.bz2
mate-panel-2655fb52147cf2426590d375a6fccc97b7997bf3.tar.xz
gtk3: fix infinite loop with Traditional themes
We don't need to reset style when adding/removing classes. It was a regression in commit: 6f634c680fbc5ee5051253554f2710e39f9ea80a
Diffstat (limited to 'mate-panel/panel-background.c')
-rw-r--r--mate-panel/panel-background.c1
1 files changed, 0 insertions, 1 deletions
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: