summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-09-20 14:51:22 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2011-09-20 14:51:45 +0200
commit45ef140e23976c5cf4349cf4ae5b40486164d485 (patch)
tree7609b69f8425219d2369861736e59195201e64b7 /client
parent26e172e4beccee39f842610bd0047f692e4a5afe (diff)
downloadspice-45ef140e23976c5cf4349cf4ae5b40486164d485.tar.gz
spice-45ef140e23976c5cf4349cf4ae5b40486164d485.tar.xz
spice-45ef140e23976c5cf4349cf4ae5b40486164d485.zip
client: fix typo commnad=>command
Diffstat (limited to 'client')
-rw-r--r--client/application.cpp4
-rw-r--r--client/application.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/client/application.cpp b/client/application.cpp
index 115f28bf..decf8a19 100644
--- a/client/application.cpp
+++ b/client/application.cpp
@@ -1232,7 +1232,7 @@ void Application::on_key_down(RedKey key)
}
if (!_sticky_info.sticky_mode) {
- int command = get_hotkeys_commnad();
+ int command = get_hotkeys_command();
if (command != APP_CMD_INVALID) {
do_command(command);
return;
@@ -1703,7 +1703,7 @@ bool Application::is_key_set_pressed(const HotkeySet& key_set)
return iter == key_set.end();
}
-int Application::get_hotkeys_commnad()
+int Application::get_hotkeys_command()
{
HotKeys::const_iterator iter = _hot_keys.begin();
diff --git a/client/application.h b/client/application.h
index de344886..db8d4e80 100644
--- a/client/application.h
+++ b/client/application.h
@@ -321,7 +321,7 @@ private:
void send_hotkey_key_set(const HotkeySet& key_set);
void menu_item_callback(unsigned int item_id);
int get_menu_item_id(AppMenuItemType type, int32_t conn_ref, uint32_t ext_id);
- int get_hotkeys_commnad();
+ int get_hotkeys_command();
bool is_key_set_pressed(const HotkeySet& key_set);
void do_on_key_up(RedKey key);
void __remove_key_handler(KeyHandler& handler);