summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-10-25 19:43:48 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-10-25 19:43:48 +0000
commit4f68e495e4fc8ee74e268ef3917d91cac1e74a14 (patch)
tree2600d2a815949f6ce73891fedbe86cf3449fadb0 /protocols
parent831067a0bad76972d1f4739c14e858bb053a8042 (diff)
ghazan says this code not needed anymore
git-svn-id: http://svn.miranda-ng.org/main/trunk@2079 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Skype/src/skype.cpp1
-rw-r--r--protocols/Skype/src/skype_proto.h1
-rw-r--r--protocols/Skype/src/skype_services.cpp11
3 files changed, 1 insertions, 12 deletions
diff --git a/protocols/Skype/src/skype.cpp b/protocols/Skype/src/skype.cpp
index 80ba931a6b..c889a17449 100644
--- a/protocols/Skype/src/skype.cpp
+++ b/protocols/Skype/src/skype.cpp
@@ -269,7 +269,6 @@ extern "C" int __declspec(dllexport) Load(void)
extern "C" int __declspec(dllexport) Unload(void)
{
CSkypeProto::UninitMenus();
- CSkypeProto::UninitServiceList();
CSkypeProto::UninitIcons();
g_skype->stop();
diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h
index 8529496b2c..71ee2313ff 100644
--- a/protocols/Skype/src/skype_proto.h
+++ b/protocols/Skype/src/skype_proto.h
@@ -95,7 +95,6 @@ public:
// services
static void InitServiceList();
- static void UninitServiceList();
// icons
static void InitIcons();
diff --git a/protocols/Skype/src/skype_services.cpp b/protocols/Skype/src/skype_services.cpp
index 9c5a4d034b..572867f984 100644
--- a/protocols/Skype/src/skype_services.cpp
+++ b/protocols/Skype/src/skype_services.cpp
@@ -6,13 +6,4 @@ void CSkypeProto::InitServiceList()
{
CSkypeProto::serviceList.insert(
::CreateServiceFunction("Skype/MenuChoose", CSkypeProto::MenuChooseService));
-}
-
-void CSkypeProto::UninitServiceList()
-{
- for (int i = 0; i < CSkypeProto::serviceList.getCount(); i++)
- {
- ::DestroyServiceFunction(CSkypeProto::serviceList[i]);
- }
- CSkypeProto::serviceList.destroy();
-}
+} \ No newline at end of file