diff options
author | lukefromdc <[email protected]> | 2016-03-24 23:22:09 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-03-25 11:01:42 +0100 |
commit | 18cd1f0c30c8a6bd5c25a4a5942d199afaf0cf6f (patch) | |
tree | 2b39ae03c4667ef29c1dc3bced8738c1891803ba | |
parent | f1ad9e27d125359efe2984e21b166bab3d392e81 (diff) | |
download | mate-panel-18cd1f0c30c8a6bd5c25a4a5942d199afaf0cf6f.tar.bz2 mate-panel-18cd1f0c30c8a6bd5c25a4a5942d199afaf0cf6f.tar.xz |
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
-rw-r--r-- | mate-panel/panel-background.c | 8 |
1 files changed, 1 insertions, 7 deletions
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 - |