diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/JabberG/jabber_menu.cpp | 8 | ||||
-rw-r--r-- | protocols/Twitter/proto.cpp | 2 | ||||
-rw-r--r-- | protocols/YAMN/main.cpp | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/protocols/JabberG/jabber_menu.cpp b/protocols/JabberG/jabber_menu.cpp index 827a32011c..e544102dec 100644 --- a/protocols/JabberG/jabber_menu.cpp +++ b/protocols/JabberG/jabber_menu.cpp @@ -942,19 +942,19 @@ void CJabberProto::GlobalMenuInit() strcpy(tDest, "/Groupchat");
hkd.ptszDescription = _T("Join conference");
- CallService(MS_HOTKEY_REGISTER, 0, (LPARAM)&hkd);
+ Hotkey_Register(&hkd);
strcpy(tDest, "/Bookmarks");
hkd.ptszDescription = _T("Open bookmarks");
- CallService(MS_HOTKEY_REGISTER, 0, (LPARAM)&hkd);
+ Hotkey_Register(&hkd);
strcpy(tDest, "/PrivacyLists");
hkd.ptszDescription = _T("Privacy lists");
- CallService(MS_HOTKEY_REGISTER, 0, (LPARAM)&hkd);
+ Hotkey_Register(&hkd);
strcpy(tDest, "/ServiceDiscovery");
hkd.ptszDescription = _T("Service discovery");
- CallService(MS_HOTKEY_REGISTER, 0, (LPARAM)&hkd);
+ Hotkey_Register(&hkd);
}
static INT_PTR g_ToolbarHandleJoinGroupchat(WPARAM w, LPARAM l)
diff --git a/protocols/Twitter/proto.cpp b/protocols/Twitter/proto.cpp index f45e64e5d9..ae1567e986 100644 --- a/protocols/Twitter/proto.cpp +++ b/protocols/Twitter/proto.cpp @@ -66,7 +66,7 @@ TwitterProto::TwitterProto(const char *proto_name,const TCHAR *username) mir_snprintf(text,SIZEOF(text),"%s/Tweet",m_szModuleName);
hkd.pszDescription = "Send Tweet";
- CallService(MS_HOTKEY_REGISTER, 0, (LPARAM)&hkd);
+ Hotkey_Register(&hkd);
signon_lock_ = CreateMutex(0,false,0);
avatar_lock_ = CreateMutex(0,false,0);
diff --git a/protocols/YAMN/main.cpp b/protocols/YAMN/main.cpp index 33a5fc186c..184fe0e3e1 100644 --- a/protocols/YAMN/main.cpp +++ b/protocols/YAMN/main.cpp @@ -513,7 +513,7 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK *link) hkd.pszSection = YAMN_DBMODULE;
hkd.pszDescription = LPGEN("Check mail");
hkd.DefHotKey = HOTKEYCODE(HOTKEYF_CONTROL, VK_F11);
- CallService(MS_HOTKEY_REGISTER, 0, (LPARAM)&hkd);
+ Hotkey_Register(&hkd);
//Create thread that will be executed every second
if (!(SecTimer = SetTimer(NULL, 0, 1000, (TIMERPROC)TimerProc)))
|