aboutsummaryrefslogtreecommitdiff
path: root/src/Keys.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Keys.cc')
-rw-r--r--src/Keys.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Keys.cc b/src/Keys.cc
index 00d6532..128ccf4 100644
--- a/src/Keys.cc
+++ b/src/Keys.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22//$Id: Keys.cc,v 1.16 2002/05/02 07:10:03 fluxgen Exp $ 22//$Id: Keys.cc,v 1.17 2002/07/27 18:03:39 fluxgen Exp $
23 23
24#ifdef HAVE_CONFIG_H 24#ifdef HAVE_CONFIG_H
25#include "config.h" 25#include "config.h"
@@ -131,7 +131,7 @@ Keys::t_actionstr Keys::m_actionlist[] = {
131 {0, LASTKEYGRAB} 131 {0, LASTKEYGRAB}
132 }; 132 };
133 133
134Keys::Keys(Display *display, char *filename): 134Keys::Keys(Display *display, const char *filename):
135m_abortkey(0), 135m_abortkey(0),
136m_display(display) 136m_display(display)
137{ 137{
@@ -175,7 +175,7 @@ void Keys::ungrabKeys() {
175// Returns true on success else false 175// Returns true on success else false
176// TODO: error checking 176// TODO: error checking
177//------------------------------------ 177//------------------------------------
178bool Keys::load(char *filename) { 178bool Keys::load(const char *filename) {
179 if (!filename) 179 if (!filename)
180 return false; 180 return false;
181 181
@@ -501,7 +501,7 @@ Keys::KeyAction Keys::getAction(XKeyEvent *ke) {
501// deletes the tree and load configuration 501// deletes the tree and load configuration
502// returns true on success else false 502// returns true on success else false
503//----------------------------------- 503//-----------------------------------
504bool Keys::reconfigure(char *filename) { 504bool Keys::reconfigure(const char *filename) {
505 deleteTree(); 505 deleteTree();
506 return load(filename); 506 return load(filename);
507} 507}