summaryrefslogtreecommitdiff
path: root/libmate-panel-applet/mate-panel-applet.c
diff options
context:
space:
mode:
authorBalló György <[email protected]>2015-12-15 09:52:51 +0100
committermonsta <[email protected]>2015-12-17 11:57:27 +0300
commit6182a8e0e33e1bdf7e7fcee906321e91ca243a0e (patch)
tree4114a4236ccadd300a42b1b16488a7765179f2ab /libmate-panel-applet/mate-panel-applet.c
parent12af3c6741bf7e5b418a5c9c1c18fa40765c4391 (diff)
downloadmate-panel-6182a8e0e33e1bdf7e7fcee906321e91ca243a0e.tar.bz2
mate-panel-6182a8e0e33e1bdf7e7fcee906321e91ca243a0e.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 'libmate-panel-applet/mate-panel-applet.c')
-rw-r--r--libmate-panel-applet/mate-panel-applet.c1
1 files changed, 0 insertions, 1 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: