diff options
Diffstat (limited to 'src/Keys.cc')
-rw-r--r-- | src/Keys.cc | 8 |
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 | ||
134 | Keys::Keys(Display *display, char *filename): | 134 | Keys::Keys(Display *display, const char *filename): |
135 | m_abortkey(0), | 135 | m_abortkey(0), |
136 | m_display(display) | 136 | m_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 | //------------------------------------ |
178 | bool Keys::load(char *filename) { | 178 | bool 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 | //----------------------------------- |
504 | bool Keys::reconfigure(char *filename) { | 504 | bool Keys::reconfigure(const char *filename) { |
505 | deleteTree(); | 505 | deleteTree(); |
506 | return load(filename); | 506 | return load(filename); |
507 | } | 507 | } |