aboutsummaryrefslogtreecommitdiff
path: root/include/swaybar/tray/tray.h
diff options
context:
space:
mode:
authorAdam Mizerski <adam@mizerski.pl>2017-11-05 20:09:16 +0100
committerAdam Mizerski <adam@mizerski.pl>2017-11-05 20:09:16 +0100
commit501c788f5f2a4a4b20ca8bd73bc2c3d06b5fc6a8 (patch)
treed69269915937672c459df98bab415d7b671e5ac5 /include/swaybar/tray/tray.h
parentc352cae55e8460d48cdc77542d742c94932fd447 (diff)
Fix init_tray function declaration
This fixes compilation failure: error: call to function 'init_tray' without a real prototype
Diffstat (limited to 'include/swaybar/tray/tray.h')
-rw-r--r--include/swaybar/tray/tray.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/swaybar/tray/tray.h b/include/swaybar/tray/tray.h
index b718e555..2d0662be 100644
--- a/include/swaybar/tray/tray.h
+++ b/include/swaybar/tray/tray.h
@@ -27,6 +27,6 @@ void tray_upkeep(struct bar *bar);
/**
* Initializes the tray with D-Bus
*/
-void init_tray();
+void init_tray(struct bar *bar);
#endif /* _SWAYBAR_TRAY_H */