summaryrefslogtreecommitdiff
path: root/plugins/WhenWasIt
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-22 17:14:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-22 17:14:39 +0300
commit737d05018bbc2da54414bea0c2ccce6f1e15bde2 (patch)
tree35f84ba2f7e3db56618b8925654b9e84593fe4fe /plugins/WhenWasIt
parent869094d2aabef8ab10a1178907cb31ae84f504f9 (diff)
Hotkey_Register => CMPlugin::addHotkey
Diffstat (limited to 'plugins/WhenWasIt')
-rw-r--r--plugins/WhenWasIt/src/WhenWasIt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/WhenWasIt/src/WhenWasIt.cpp b/plugins/WhenWasIt/src/WhenWasIt.cpp
index f4a2c5cc91..947a9a2de7 100644
--- a/plugins/WhenWasIt/src/WhenWasIt.cpp
+++ b/plugins/WhenWasIt/src/WhenWasIt.cpp
@@ -126,12 +126,12 @@ extern "C" int __declspec(dllexport) Load(void)
hotkey.pszName = "wwi_birthday_list";
hotkey.szDescription.a = LPGEN("Birthday list");
hotkey.pszService = MS_WWI_LIST_SHOW;
- Hotkey_Register(&hotkey);
+ g_plugin.addHotkey(&hotkey);
hotkey.pszName = "wwi_check_birthdays";
hotkey.szDescription.a = LPGEN("Check for birthdays");
hotkey.pszService = MS_WWI_CHECK_BIRTHDAYS;
- Hotkey_Register(&hotkey);
+ g_plugin.addHotkey(&hotkey);
g_plugin.addSound(BIRTHDAY_NEAR_SOUND, LPGENW("WhenWasIt"), LPGENW("Birthday near"));
g_plugin.addSound(BIRTHDAY_TODAY_SOUND, LPGENW("WhenWasIt"), LPGENW("Birthday today"));