more const
fluxgen fluxgen
3 files changed,
6 insertions(+),
6 deletions(-)
M
src/BaseDisplay.cc
→
src/BaseDisplay.cc
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: BaseDisplay.cc,v 1.13 2002/04/08 22:23:41 fluxgen Exp $ +// $Id: BaseDisplay.cc,v 1.14 2002/05/17 11:55:41 fluxgen Exp $ // use GNU extensions #ifndef _GNU_SOURCE@@ -322,7 +322,7 @@ }
} -const bool BaseDisplay::validateWindow(Window window) { +bool BaseDisplay::validateWindow(Window window) { XEvent event; if (XCheckTypedWindowEvent(m_display, window, DestroyNotify, &event)) { XPutBackEvent(m_display, &event);
M
src/BaseDisplay.hh
→
src/BaseDisplay.hh
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: BaseDisplay.hh,v 1.20 2002/05/17 10:51:48 fluxgen Exp $ +// $Id: BaseDisplay.hh,v 1.21 2002/05/17 11:55:31 fluxgen Exp $ #ifndef BASEDISPLAY_HH #define BASEDISPLAY_HH@@ -99,7 +99,7 @@
inline void shutdown(void) { m_shutdown = true; } inline void run(void) { m_startup = m_shutdown = false; } - const bool validateWindow(Window); + bool validateWindow(Window); void grab(void); void ungrab(void);
M
src/Screen.hh
→
src/Screen.hh
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.hh,v 1.34 2002/05/17 11:02:30 fluxgen Exp $ +// $Id: Screen.hh,v 1.35 2002/05/17 11:55:02 fluxgen Exp $ #ifndef SCREEN_HH #define SCREEN_HH@@ -131,7 +131,7 @@ inline unsigned int getIconCount(void) const { return iconList.size(); }
inline Icons &getIconList(void) { return iconList; } inline int getNumberOfWorkspaces(void) { return *resource.workspaces; } - inline const Toolbar::Placement getToolbarPlacement(void) { return *resource.toolbar_placement; } + inline Toolbar::Placement getToolbarPlacement(void) { return *resource.toolbar_placement; } #ifdef XINERAMA inline int getToolbarOnHead(void) { return *resource.toolbar_on_head; } #endif // XINERAMA