aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMathias Gumz <akira@fluxbox.org>2015-01-19 07:29:48 (GMT)
committerMathias Gumz <akira@fluxbox.org>2015-01-19 07:29:48 (GMT)
commit382d7be6f6edb8841198e5751847bfa32c421b8b (patch)
tree926714369d59cfb1d38cf27e7a8704943af2295c /src
parent11566bbb83a03dd9066c55a2f0566454d0d05ffc (diff)
downloadfluxbox-382d7be6f6edb8841198e5751847bfa32c421b8b.zip
fluxbox-382d7be6f6edb8841198e5751847bfa32c421b8b.tar.bz2
Fix compile error: old g++ does not like c-like struct initialization
Diffstat (limited to 'src')
-rw-r--r--src/Screen.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index b321d85..666bb3e 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1408,11 +1408,10 @@ float BScreen::getYGap(int head) {
1408 1408
1409void BScreen::setupConfigmenu(FbTk::Menu &menu) { 1409void BScreen::setupConfigmenu(FbTk::Menu &menu) {
1410 1410
1411 struct ConfigMenu::SetupHelper sh = { 1411 struct ConfigMenu::SetupHelper sh;
1412 .screen = *this, 1412 sh.screen = *this;
1413 .rm = m_resource_manager, 1413 sh.rm = m_resource_manager;
1414 .resource = resource, 1414 sh.resource = resource;
1415 };
1416 1415
1417 menu.removeAll(); 1416 menu.removeAll();
1418 ConfigMenu::setup(menu, sh); 1417 ConfigMenu::setup(menu, sh);