summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_menus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/tox_menus.cpp')
-rw-r--r--protocols/Tox/src/tox_menus.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/protocols/Tox/src/tox_menus.cpp b/protocols/Tox/src/tox_menus.cpp
index 9dc0ee8b79..e876cbeb6f 100644
--- a/protocols/Tox/src/tox_menus.cpp
+++ b/protocols/Tox/src/tox_menus.cpp
@@ -44,10 +44,8 @@ int CToxProto::UpdateStatusMenu(WPARAM, LPARAM)
return 0;
}
-int CToxProto::OnInitStatusMenu()
+void CToxProto::OnBuildProtoMenu()
{
- //HookProtoEvent(ME_CLIST_PREBUILDSTATUSMENU, &CToxProto::UpdateStatusMenu);
-
CMenuItem mi;
mi.flags = CMIF_UNICODE;
mi.root = Menu_GetProtocolRoot(this);
@@ -87,6 +85,4 @@ int CToxProto::OnInitStatusMenu()
StatusMenuItems[SMI_PASSWORD_REMOVE] = Menu_AddProtoMenuItem(&mi, m_szModuleName);
UpdateStatusMenu(NULL, NULL);
-
- return 0;
}