From 6974f2021e6b49e7b49adb9cba0c166f59b203b7 Mon Sep 17 00:00:00 2001 From: kotontrion Date: Fri, 14 Jun 2024 11:58:41 +0200 Subject: fix vapi path --- src/trayItem.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/trayItem.vala') diff --git a/src/trayItem.vala b/src/trayItem.vala index 8a91fa9..fbe6f63 100644 --- a/src/trayItem.vala +++ b/src/trayItem.vala @@ -112,7 +112,7 @@ namespace AstalTray { connection_ids = new List(); item_id = service + path; - setup_proxy(service, path); + setup_proxy.begin(service, path, (_, res) => setup_proxy.end(res)); } @@ -186,7 +186,7 @@ namespace AstalTray { }); } - public DbusmenuGtk.Menu create_menu() { + public DbusmenuGtk.Menu? create_menu() { if(proxy.Menu == null) return null; return new DbusmenuGtk.Menu( proxy.get_name_owner(), -- cgit v1.2.3