summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-05-04 21:39:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-05-04 21:39:01 +0000
commitcc47930b9ea9ccb12f356c35e5a438985bd8fa76 (patch)
treedd5d3362ca8994d6a5b94bde8c20e62c9a2aa613
parentf06be98dad6f5ca1941c52d5dd60a735ecf94c22 (diff)
useless handlers removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@9129 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--src/modules/metacontacts/meta_services.cpp23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/modules/metacontacts/meta_services.cpp b/src/modules/metacontacts/meta_services.cpp
index 5efa60e6ea..7166c78ce9 100644
--- a/src/modules/metacontacts/meta_services.cpp
+++ b/src/modules/metacontacts/meta_services.cpp
@@ -595,26 +595,6 @@ int Meta_SrmmIconClicked(WPARAM hMeta, LPARAM lParam)
return 0;
}
-int Meta_ClistDoubleClicked(WPARAM hMeta, LPARAM lParam)
-{
- if (db_mc_isEnabled()) {
- DBCachedContact *cc = currDb->m_cache->GetCachedContact(hMeta);
- if (cc != NULL && cc->IsSub()) {
- // simulate double click on the metacontact and stop event processing
- CallService(MS_CLIST_CONTACTDOUBLECLICKED, cc->parentID, 0);
- return 1;
- }
- }
-
- return 0;
-}
-
-INT_PTR Meta_ClistMessageEventClicked(WPARAM wParam, LPARAM lParam)
-{
- MCONTACT hContact = ((CLISTEVENT *)lParam)->hContact;
- return Meta_ClistDoubleClicked(hContact, (LPARAM)((CLISTEVENT *)lParam)->hDbEvent);
-}
-
int NudgeRecieved(WPARAM wParam, LPARAM lParam)
{
return 0;
@@ -628,7 +608,7 @@ int NudgeRecieved(WPARAM wParam, LPARAM lParam)
int Meta_ModulesLoaded(WPARAM wParam, LPARAM lParam)
{
HookEvent(ME_CLIST_PREBUILDCONTACTMENU, Meta_ModifyMenu);
- HookEvent(ME_CLIST_DOUBLECLICKED, Meta_ClistDoubleClicked);
+
// hook srmm window close/open events
HookEvent(ME_MSG_WINDOWEVENT, Meta_MessageWindowEvent);
HookEvent(ME_MSG_ICONPRESSED, Meta_SrmmIconClicked);
@@ -880,7 +860,6 @@ void Meta_InitServices()
CreateApiServices();
CreateServiceFunction("MetaContacts/OnOff", Meta_OnOff);
- CreateServiceFunction("MetaContacts/CListMessageEvent", Meta_ClistMessageEventClicked);
CreateProtoServiceFunction(META_PROTO, PS_SEND_NUDGE, Meta_SendNudge);