diff options
author | James Booth <boothj5@gmail.com> | 2015-11-25 22:08:33 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-11-25 22:33:26 +0000 |
commit | d3389db2336544b6f611ef03d7eb390ab4f7d295 (patch) | |
tree | 23c13c4c31663a912f756ee39c87cef817b809a4 /tests/unittests/ui | |
parent | 20e63e364b45894d481a35e019602183255e3496 (diff) | |
download | profani-tty-d3389db2336544b6f611ef03d7eb390ab4f7d295.tar.gz |
Only show reminder notifications when notifications are enabled
Diffstat (limited to 'tests/unittests/ui')
-rw-r--r-- | tests/unittests/ui/stub_ui.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c index 4cab2ea9..37d49d4d 100644 --- a/tests/unittests/ui/stub_ui.c +++ b/tests/unittests/ui/stub_ui.c @@ -486,6 +486,10 @@ ProfWin* win_create_private(const char * const fulljid) void win_update_virtual(ProfWin *window) {} void win_free(ProfWin *window) {} +gboolean win_notify(ProfWin *window) +{ + return TRUE; +} int win_unread(ProfWin *window) { return 0; |