mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 22:15:06 +00:00
WindowServer: Make MenuBar unaware of Process.
This commit is contained in:
parent
7723c06f27
commit
2733a788eb
4 changed files with 7 additions and 11 deletions
|
@ -1,11 +1,10 @@
|
|||
#include "WSMenuBar.h"
|
||||
#include "WSMenu.h"
|
||||
#include "WSMenuItem.h"
|
||||
#include <Kernel/Process.h>
|
||||
|
||||
WSMenuBar::WSMenuBar(int menubar_id, Process& process)
|
||||
: m_menubar_id(menubar_id)
|
||||
, m_process(process.make_weak_ptr())
|
||||
WSMenuBar::WSMenuBar(int client_id, int menubar_id)
|
||||
: m_client_id(client_id)
|
||||
, m_menubar_id(menubar_id)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue