summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_menus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Skype/src/skype_menus.cpp')
-rw-r--r--protocols/Skype/src/skype_menus.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/protocols/Skype/src/skype_menus.cpp b/protocols/Skype/src/skype_menus.cpp
index 3553b0b5ce..f8083bb3e7 100644
--- a/protocols/Skype/src/skype_menus.cpp
+++ b/protocols/Skype/src/skype_menus.cpp
@@ -118,11 +118,7 @@ int CSkypeProto::PrebuildContactMenu(WPARAM wParam, LPARAM lParam)
void CSkypeProto::InitMenus()
{
- TMenuParam mnu = {0};
- mnu.cbSize = sizeof(mnu);
- mnu.name = "SkypeAccountChooser";
- mnu.ExecService = "Skype/MenuChoose";
- hChooserMenu = MO_CreateMenuObject(LPGEN("Skype menu chooser"), &mnu);
+ hChooserMenu = MO_CreateMenuObject("SkypeAccountChooser", LPGEN("Skype menu chooser"), 0, "Skype/MenuChoose");
//////////////////////////////////////////////////////////////////////////////////////
// Contact menu initialization