summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/gg_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-02-15 15:27:09 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-02-15 15:27:09 +0000
commit4982a2b85b8022d75914970dd04f8ef32b5200f1 (patch)
tree60e6a833bad8c0cd32e41cd8ae134d79be36631b /protocols/Gadu-Gadu/src/gg_proto.cpp
parente018f58931bdc8147f3131e4c59965c268f476b6 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@12126 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu/src/gg_proto.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/gg_proto.cpp31
1 files changed, 15 insertions, 16 deletions
diff --git a/protocols/Gadu-Gadu/src/gg_proto.cpp b/protocols/Gadu-Gadu/src/gg_proto.cpp
index d2ccaed460..e2abec4873 100644
--- a/protocols/Gadu-Gadu/src/gg_proto.cpp
+++ b/protocols/Gadu-Gadu/src/gg_proto.cpp
@@ -778,22 +778,21 @@ int GGPROTO::OnEvent(PROTOEVENTTYPE eventType, WPARAM wParam, LPARAM lParam)
{
switch( eventType ) {
case EV_PROTO_ONLOAD:
- {
- HookProtoEvent(ME_OPT_INITIALISE, &GGPROTO::options_init);
- HookProtoEvent(ME_USERINFO_INITIALISE, &GGPROTO::details_init);
-
- // Init misc stuff
- gg_icolib_init();
- initpopups();
- gc_init();
- keepalive_init();
- img_init();
- block_init();
-
- // Try to fetch user avatar
- getOwnAvatar();
- break;
- }
+ HookProtoEvent(ME_OPT_INITIALISE, &GGPROTO::options_init);
+ HookProtoEvent(ME_USERINFO_INITIALISE, &GGPROTO::details_init);
+
+ // Init misc stuff
+ gg_icolib_init();
+ initpopups();
+ gc_init();
+ keepalive_init();
+ img_init();
+ block_init();
+
+ // Try to fetch user avatar
+ getOwnAvatar();
+ break;
+
case EV_PROTO_ONEXIT:
// Stop avatar request thread
pth_avatar.dwThreadId = 0;