summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/gg_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-19 18:19:47 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-19 18:19:47 +0300
commit624c9066d85c4da900cf440ca6066f86ef0b044d (patch)
treeadd8020aeecd60ccc892640914496dcd315947c0 /protocols/Gadu-Gadu/src/gg_proto.cpp
parent2dd3e220e4c783a5454d763b01d56e71042644f2 (diff)
EV_PROTO_ONOPTIONS removed and replaced with the call of CallObjectEventHook(pa->ppro, ME_OPT_INITIALIZE)
this eliminates the possibility of making a mistake in hand-written code also fixes #1280 (Tox: "Confugure" menu item is broken)
Diffstat (limited to 'protocols/Gadu-Gadu/src/gg_proto.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/gg_proto.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/protocols/Gadu-Gadu/src/gg_proto.cpp b/protocols/Gadu-Gadu/src/gg_proto.cpp
index 7e086f9060..d5f822ca0b 100644
--- a/protocols/Gadu-Gadu/src/gg_proto.cpp
+++ b/protocols/Gadu-Gadu/src/gg_proto.cpp
@@ -729,9 +729,6 @@ int GaduProto::OnEvent(PROTOEVENTTYPE eventType, WPARAM wParam, LPARAM lParam)
sessions_closedlg();
break;
- case EV_PROTO_ONOPTIONS:
- return options_init(wParam, lParam);
-
case EV_PROTO_ONMENU:
menus_init();
break;