From 18cd1f0c30c8a6bd5c25a4a5942d199afaf0cf6f Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Thu, 24 Mar 2016 23:22:09 -0400 Subject: GTK3.18-revert hack not needed with moved bg code Revert a technically incorrect hack previously needed for GTk 3.18 but no longer needed after moving the background handling to the panel toplevel. Moving the BG is GTK 3.18 and later only it seems --- mate-panel/panel-background.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'mate-panel/panel-background.c') diff --git a/mate-panel/panel-background.c b/mate-panel/panel-background.c index 8e3131ad..3af6e13d 100644 --- a/mate-panel/panel-background.c +++ b/mate-panel/panel-background.c @@ -554,13 +554,8 @@ panel_background_composite (PanelBackground *background) break; } -#if GTK_CHECK_VERSION (3, 18, 0) - /* FIXME, Hack, panel user background fix for gtk+-3.18+ */ - /* this is actually WRONG but fixes rendering of user selected color BG */ - background->composited = FALSE; -#else background->composited = TRUE; -#endif + panel_background_prepare (background); @@ -1500,4 +1495,3 @@ panel_background_change_background_on_widget (PanelBackground *background, } } #endif - -- cgit v1.2.1