summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-04-06 13:31:02 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-04-06 13:31:02 +0000
commit56c24779dc455536c35866a65b25e4d729074b9d (patch)
tree1815a5e8792af872f107d46a5462b8d142248a27
parentf9d1fd1feb6f7c2e66ad9781d4fe77c26d5a2f9a (diff)
MS_CLUI_CONTACTRENAMED - totally unused service removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@16595 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--include/m_clui.h9
-rw-r--r--src/mir_app/src/cluiservices.cpp7
2 files changed, 0 insertions, 16 deletions
diff --git a/include/m_clui.h b/include/m_clui.h
index 560bd2ee9c..c3b713f487 100644
--- a/include/m_clui.h
+++ b/include/m_clui.h
@@ -67,15 +67,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
//iconid is an offset in the image list. see clist/geticonsimagelist
#define MS_CLUI_CONTACTADDED "CLUI/ContactAdded"
-//rename a contact in the list
-//wParam = (MCONTACT)hContact
-//lParam = 0
-//returns 0 on success, nonzero on failure
-//you should not re-sort the list on this call. A separate resort request will
-//be sent
-//you get the new name from clist/getcontactdisplayname
-#define MS_CLUI_CONTACTRENAMED "CLUI/ContactRenamed"
-
//start a rebuild of the contact list
//wParam = lParam = 0
//returns 0 on success, nonzero on failure
diff --git a/src/mir_app/src/cluiservices.cpp b/src/mir_app/src/cluiservices.cpp
index 3dc94a47e8..a7b481887b 100644
--- a/src/mir_app/src/cluiservices.cpp
+++ b/src/mir_app/src/cluiservices.cpp
@@ -97,12 +97,6 @@ static INT_PTR ListEndRebuild(WPARAM, LPARAM)
return 0;
}
-static INT_PTR ContactRenamed(WPARAM, LPARAM)
-{
- //unnecessary: CLC does this automatically
- return 0;
-}
-
static INT_PTR GetCaps(WPARAM wParam, LPARAM)
{
switch (wParam) {
@@ -120,7 +114,6 @@ void LoadCluiServices(void)
CreateServiceFunction(MS_CLUI_CONTACTSETICON, ContactSetIcon);
CreateServiceFunction(MS_CLUI_CONTACTADDED, ContactAdded);
CreateServiceFunction(MS_CLUI_CONTACTDELETED, ContactDeleted);
- CreateServiceFunction(MS_CLUI_CONTACTRENAMED, ContactRenamed);
CreateServiceFunction(MS_CLUI_LISTBEGINREBUILD, ListBeginRebuild);
CreateServiceFunction(MS_CLUI_LISTENDREBUILD, ListEndRebuild);
CreateServiceFunction(MS_CLUI_GETCAPS, GetCaps);