summaryrefslogtreecommitdiff
path: root/src/trayItem.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/trayItem.vala')
-rw-r--r--src/trayItem.vala4
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(),