diff options
Diffstat (limited to 'plugins/Clist_modern/src/CLUIFrames/groupmenu.cpp')
-rw-r--r-- | plugins/Clist_modern/src/CLUIFrames/groupmenu.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Clist_modern/src/CLUIFrames/groupmenu.cpp b/plugins/Clist_modern/src/CLUIFrames/groupmenu.cpp index 3bc84b1bcc..5e6a01de74 100644 --- a/plugins/Clist_modern/src/CLUIFrames/groupmenu.cpp +++ b/plugins/Clist_modern/src/CLUIFrames/groupmenu.cpp @@ -75,9 +75,8 @@ static INT_PTR AddGroupMenuItem(WPARAM wParam, LPARAM lParam) mmep->Param1 = gmp->wParam;
mmep->Param2 = gmp->lParam;
}
- pmi->ownerdata = mmep;
- HGENMENU hNewItem = Menu_AddItem(hGroupMenuObject, pmi);
+ HGENMENU hNewItem = Menu_AddItem(hGroupMenuObject, pmi, mmep);
char buf[1024];
mir_snprintf(buf, "%s/%s", pmi->pszService, pmi->name.a);
@@ -370,9 +369,8 @@ static INT_PTR AddSubGroupMenuItem(WPARAM wParam, LPARAM lParam) mmep->Param1 = gmp->wParam;
mmep->Param2 = gmp->lParam;
}
- pmi->ownerdata = mmep;
- HGENMENU hNewItem = Menu_AddItem(hSubGroupMenuObject, pmi);
+ HGENMENU hNewItem = Menu_AddItem(hSubGroupMenuObject, pmi, mmep);
char buf[1024];
mir_snprintf(buf, "%s/%s", pmi->pszService, pmi->name.a);
|