From 737d05018bbc2da54414bea0c2ccce6f1e15bde2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 May 2018 17:14:39 +0300 Subject: Hotkey_Register => CMPlugin::addHotkey --- plugins/Clist_modern/src/modern_keyboard.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Clist_modern/src') diff --git a/plugins/Clist_modern/src/modern_keyboard.cpp b/plugins/Clist_modern/src/modern_keyboard.cpp index 07037071b3..219e89a7ef 100644 --- a/plugins/Clist_modern/src/modern_keyboard.cpp +++ b/plugins/Clist_modern/src/modern_keyboard.cpp @@ -52,18 +52,18 @@ int InitSkinHotKeys(void) shk.szDescription.w = LPGENW("Close Miranda"); shk.pszName = "CloseMiranda"; shk.pszService = "CLIST/HK/CloseMiranda"; - Hotkey_Register(&shk); + g_plugin.addHotkey(&shk); shk.szSection.w = LPGENW("Status"); shk.szDescription.w = LPGENW("Restore last status"); shk.pszName = "RestoreLastStatus"; shk.pszService = "CLIST/HK/RestoreStatus"; - Hotkey_Register(&shk); + g_plugin.addHotkey(&shk); shk.szSection.w = LPGENW("Main"); shk.szDescription.w = LPGENW("Show/Hide offline users"); shk.pszName = "ShowHideOfflineUsers"; shk.pszService = MS_CLIST_TOGGLEHIDEOFFLINE; - Hotkey_Register(&shk); + g_plugin.addHotkey(&shk); return 0; } -- cgit v1.2.3