aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2011-03-18 06:53:53 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2011-03-18 06:53:53 (GMT)
commit3a3df518236cd3cd982e952f63a59cc180c23c38 (patch)
treef28e94dc94031d0d9c8dd587a41a5f8000891a14
parenta53017cc3bad26906b99ac473513a10847c40bc0 (diff)
downloadfluxbox_paul-3a3df518236cd3cd982e952f63a59cc180c23c38.zip
fluxbox_paul-3a3df518236cd3cd982e952f63a59cc180c23c38.tar.bz2
compiler cosmetic: changed return type of ScreenPlacement::placeAndShowMenu() to void, closes #3204402
-rw-r--r--src/ScreenPlacement.cc2
-rw-r--r--src/ScreenPlacement.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ScreenPlacement.cc b/src/ScreenPlacement.cc
index 46ff718..1da1700 100644
--- a/src/ScreenPlacement.cc
+++ b/src/ScreenPlacement.cc
@@ -131,7 +131,7 @@ bool ScreenPlacement::placeWindow(const FluxboxWindow &win, int head,
131 return true; 131 return true;
132} 132}
133 133
134bool ScreenPlacement::placeAndShowMenu(FbTk::Menu& menu, int x, int y, bool respect_struts) { 134void ScreenPlacement::placeAndShowMenu(FbTk::Menu& menu, int x, int y, bool respect_struts) {
135 135
136 int head = m_screen.getHead(x, y); 136 int head = m_screen.getHead(x, y);
137 137
diff --git a/src/ScreenPlacement.hh b/src/ScreenPlacement.hh
index 7093c9b..0e749d4 100644
--- a/src/ScreenPlacement.hh
+++ b/src/ScreenPlacement.hh
@@ -69,7 +69,7 @@ public:
69 int &place_x, int &place_y); 69 int &place_x, int &place_y);
70 70
71 // places and show 'menu' at 'x','y' 71 // places and show 'menu' at 'x','y'
72 bool placeAndShowMenu(FbTk::Menu& menu, int x, int y, bool respect_struts); 72 void placeAndShowMenu(FbTk::Menu& menu, int x, int y, bool respect_struts);
73 73
74 RowDirection rowDirection() const { return *m_row_direction; } 74 RowDirection rowDirection() const { return *m_row_direction; }
75 ColumnDirection colDirection() const { return *m_col_direction; } 75 ColumnDirection colDirection() const { return *m_col_direction; }