diff options
| author | Drew DeVault <sir@cmpwn.com> | 2018-02-05 18:11:07 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-05 18:11:07 -0500 |
| commit | a571506d0e3abae0a8fe05a186cb5a33623bdf94 (patch) | |
| tree | ab10cd02219ad353a97794139e92e8801ce5871f /include/swaybar/event_loop.h | |
| parent | 6ffcb031f9612b347971047f73ce070206048736 (diff) | |
| parent | a83bca6db5348033b21ebb4ed7bc189d39e2b0c4 (diff) | |
Merge pull request #1584 from 4e554c4c/no_more_hups
Handle swaybar status line errors
Diffstat (limited to 'include/swaybar/event_loop.h')
| -rw-r--r-- | include/swaybar/event_loop.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/swaybar/event_loop.h b/include/swaybar/event_loop.h index a0cde07f..d5089262 100644 --- a/include/swaybar/event_loop.h +++ b/include/swaybar/event_loop.h @@ -13,11 +13,11 @@ void add_timer(timer_t timer, void(*cb)(timer_t timer, void *data), void *data); -// Returns false if nothing exists, true otherwise -bool remove_event(int fd); +// Remove the given event from the event loop +void remove_event(int fd); -// Returns false if nothing exists, true otherwise -bool remove_timer(timer_t timer); +// Remove the given timer from the event loop +void remove_timer(timer_t timer); // Blocks and returns after sending callbacks void event_loop_poll(); |
