diff options
author | kotontrion <[email protected]> | 2024-06-14 11:58:41 +0200 |
---|---|---|
committer | kotontrion <[email protected]> | 2024-06-14 11:58:41 +0200 |
commit | 6974f2021e6b49e7b49adb9cba0c166f59b203b7 (patch) | |
tree | 020f358e18aec5a972aed9494cb3a64c40aabe92 /src/trayItem.vala | |
parent | 3486989e9191af00248efb4a5a973fac64b1d8c1 (diff) |
fix vapi path
Diffstat (limited to 'src/trayItem.vala')
-rw-r--r-- | src/trayItem.vala | 4 |
1 files changed, 2 insertions, 2 deletions
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<ulong>(); 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(), |