From 2655fb52147cf2426590d375a6fccc97b7997bf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= Date: Tue, 15 Dec 2015 09:52:51 +0100 Subject: 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 --- libmate-panel-applet/mate-panel-applet.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libmate-panel-applet') 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: -- cgit v1.2.1