From 0fa39189ae1eea51681d472db38a290bc4df1cfe Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 24 Jan 2024 13:38:10 +0300 Subject: PS_GETNAME: another old atavism removed --- protocols/GmailNotifier/src/main.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'protocols/GmailNotifier/src') diff --git a/protocols/GmailNotifier/src/main.cpp b/protocols/GmailNotifier/src/main.cpp index 55f05feef0..c555c583f0 100644 --- a/protocols/GmailNotifier/src/main.cpp +++ b/protocols/GmailNotifier/src/main.cpp @@ -68,12 +68,6 @@ INT_PTR GetStatus(WPARAM, LPARAM) return ID_STATUS_ONLINE; } -INT_PTR GetName(WPARAM wParam, LPARAM lParam) -{ - mir_strncpy((char*)lParam, MODULENAME, wParam); - return 0; -} - void CALLBACK TimerProc(HWND, UINT, UINT_PTR, DWORD) { PluginMenuCommand(0, 0); @@ -106,7 +100,6 @@ int CMPlugin::Load() CreateProtoServiceFunction(MODULENAME, PS_GETCAPS, GetCaps); CreateProtoServiceFunction(MODULENAME, PS_GETSTATUS, GetStatus); - CreateProtoServiceFunction(MODULENAME, PS_GETNAME, GetName); CreateServiceFunction("GmailMNotifier/Notifying", Notifying); DBVARIANT dbv; -- cgit v1.2.3