summaryrefslogtreecommitdiff
path: root/protocols/Steam/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-14 01:22:55 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-14 01:22:55 +0300
commitd3cb19278d60ac6f7963379254546cdca36a90e2 (patch)
treef2fa018b343d5460419c1b323f5f3ce04a393d00 /protocols/Steam/src
parentd5a6c0666a8d8d2055a3f4402f67f91e8548ec3a (diff)
separate handle types for HNETLIBCONN & HNETLIBBIND
Diffstat (limited to 'protocols/Steam/src')
-rw-r--r--protocols/Steam/src/steam_events.cpp7
-rw-r--r--protocols/Steam/src/steam_proto.cpp3
-rw-r--r--protocols/Steam/src/steam_proto.h1
3 files changed, 0 insertions, 11 deletions
diff --git a/protocols/Steam/src/steam_events.cpp b/protocols/Steam/src/steam_events.cpp
index 43a906b56e..db3b5a054c 100644
--- a/protocols/Steam/src/steam_events.cpp
+++ b/protocols/Steam/src/steam_events.cpp
@@ -17,13 +17,6 @@ int CSteamProto::OnModulesLoaded(WPARAM, LPARAM)
return 0;
}
-int CSteamProto::OnPreShutdown(WPARAM, LPARAM)
-{
- Netlib_Shutdown(this->m_hNetlibUser);
- this->m_hNetlibUser = NULL;
- return 0;
-}
-
INT_PTR CSteamProto::OnAccountManagerInit(WPARAM, LPARAM lParam)
{
return (INT_PTR)(CSteamOptionsMain::CreateAccountManagerPage(this, (HWND)lParam))->GetHwnd();
diff --git a/protocols/Steam/src/steam_proto.cpp b/protocols/Steam/src/steam_proto.cpp
index fb6d7e31f3..e9fc5ba35c 100644
--- a/protocols/Steam/src/steam_proto.cpp
+++ b/protocols/Steam/src/steam_proto.cpp
@@ -396,9 +396,6 @@ int __cdecl CSteamProto::OnEvent(PROTOEVENTTYPE eventType, WPARAM wParam, LPARAM
case EV_PROTO_ONLOAD:
return this->OnModulesLoaded(wParam, lParam);
- case EV_PROTO_ONEXIT:
- return this->OnPreShutdown(wParam, lParam);
-
/*case EV_PROTO_ONOPTIONS:
return this->OnOptionsInit(wParam, lParam);*/
diff --git a/protocols/Steam/src/steam_proto.h b/protocols/Steam/src/steam_proto.h
index 812f88051e..b9d4ca8556 100644
--- a/protocols/Steam/src/steam_proto.h
+++ b/protocols/Steam/src/steam_proto.h
@@ -212,7 +212,6 @@ protected:
// events
int OnModulesLoaded(WPARAM, LPARAM);
- int OnPreShutdown(WPARAM, LPARAM);
int __cdecl OnIdleChanged(WPARAM, LPARAM);
int __cdecl OnOptionsInit(WPARAM wParam, LPARAM lParam);
INT_PTR __cdecl OnAccountManagerInit(WPARAM wParam, LPARAM lParam);