diff options
author | George Hazan <george.hazan@gmail.com> | 2013-12-16 17:12:32 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-12-16 17:12:32 +0000 |
commit | f3fe14fbf6554ac512405d33950f07688c0fc030 (patch) | |
tree | ea5c5aec0cf3f04246c7565baad7238e5041ed3b | |
parent | f87c3ef1727d6fbf7e89f0731389f2f98cd5ac48 (diff) |
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@7250 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-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);
|