diff options
-rw-r--r-- | protocols/Skype/src/skype_menus.cpp | 6 | ||||
-rw-r--r-- | protocols/Skype/src/skype_proto.h | 2 |
2 files changed, 2 insertions, 6 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
diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h index 094fa8c6e8..8534c395e1 100644 --- a/protocols/Skype/src/skype_proto.h +++ b/protocols/Skype/src/skype_proto.h @@ -493,7 +493,7 @@ protected: // menus
HGENMENU m_hMenuRoot;
- static HGENMENU hChooserMenu;
+ static HANDLE hChooserMenu;
static HGENMENU contactMenuItems[CMI_MAX];
virtual int __cdecl RequestAuth(WPARAM, LPARAM);
|