more const
This commit is contained in:
parent
f44b755363
commit
eb8234442e
3 changed files with 6 additions and 6 deletions
|
@ -22,7 +22,7 @@
|
|||
// 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 @@ void BaseDisplay::eventLoop(void) {
|
|||
}
|
||||
|
||||
|
||||
const bool BaseDisplay::validateWindow(Window window) {
|
||||
bool BaseDisplay::validateWindow(Window window) {
|
||||
XEvent event;
|
||||
if (XCheckTypedWindowEvent(m_display, window, DestroyNotify, &event)) {
|
||||
XPutBackEvent(m_display, &event);
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
// 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 @@ public:
|
|||
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);
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
// 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 @@ public:
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue