summaryrefslogtreecommitdiff
path: root/plugins/Ping/src/menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Ping/src/menu.cpp')
-rw-r--r--plugins/Ping/src/menu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Ping/src/menu.cpp b/plugins/Ping/src/menu.cpp
index b3f286a246..fd49c789df 100644
--- a/plugins/Ping/src/menu.cpp
+++ b/plugins/Ping/src/menu.cpp
@@ -6,9 +6,9 @@ HANDLE hEventMenuBuild;
void InitMenus()
{
// main menu
- CMenuItem mi;
+ CMenuItem mi(g_plugin);
mi.flags = CMIF_UNICODE;
- mi.root = Menu_CreateRoot(MO_MAIN, LPGENW("Ping"), 500099900);
+ mi.root = g_plugin.addRootMenu(MO_MAIN, LPGENW("Ping"), 500099900);
Menu_ConfigureItem(mi.root, MCI_OPT_UID, "FF273885-6AEC-4C8A-B8BC-9247D920F223");
SET_UID(mi, 0xc9a4d17a, 0xd5fa, 0x40d9, 0xbe, 0x7b, 0x9e, 0x2e, 0x5b, 0xbf, 0x8, 0x59);