mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-05 08:06:09 +00:00
WindowServer: Let menu objects reference the WSClientConnection by pointer.
Since these are owner/ownee relationships, there's no need for indirection.
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
#include "WSMenu.h"
|
||||
#include "WSMenuItem.h"
|
||||
|
||||
WSMenuBar::WSMenuBar(int client_id, int menubar_id)
|
||||
: m_client_id(client_id)
|
||||
WSMenuBar::WSMenuBar(WSClientConnection& client, int menubar_id)
|
||||
: m_client(client)
|
||||
, m_menubar_id(menubar_id)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user