diff options
author | James Booth <boothj5@gmail.com> | 2014-04-01 21:52:04 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-04-01 21:52:04 +0100 |
commit | 404dde281018596e3ff8b8b46dddbf622cc9670a (patch) | |
tree | 32dde71cf41ea9be57813c6ab0b419f467d36b38 /tests/ui | |
parent | e8e5ab597a6233a8ae7af75aee51451de51ed0e5 (diff) | |
download | profani-tty-404dde281018596e3ff8b8b46dddbf622cc9670a.tar.gz |
Renamed refresh functions to update_virtual
Diffstat (limited to 'tests/ui')
-rw-r--r-- | tests/ui/mock_ui.c | 6 | ||||
-rw-r--r-- | tests/ui/mock_ui.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/mock_ui.c b/tests/ui/mock_ui.c index 8fcf277a..67eb51e8 100644 --- a/tests/ui/mock_ui.c +++ b/tests/ui/mock_ui.c @@ -133,7 +133,7 @@ void _stub_ui_handle_recipient_not_found(const char * const recipient, const cha } static -void _stub_ui_current_refresh(void) +void _stub_ui_current_update_virtual(void) { } @@ -265,9 +265,9 @@ stub_ui_handle_recipient_error(void) } void -stub_ui_current_refresh(void) +stub_ui_current_update_virtual(void) { - ui_current_refresh = _stub_ui_current_refresh; + ui_current_update_virtual = _stub_ui_current_update_virtual; } void diff --git a/tests/ui/mock_ui.h b/tests/ui/mock_ui.h index fa56e2f6..55b036e6 100644 --- a/tests/ui/mock_ui.h +++ b/tests/ui/mock_ui.h @@ -49,7 +49,7 @@ void mock_current_win_type(win_type_t type); void mock_ui_current_recipient(void); void ui_current_recipient_returns(char *jid); -void stub_ui_current_refresh(void); +void stub_ui_current_update_virtual(void); void mock_ui_current_print_formatted_line(void); void ui_current_print_formatted_line_expect(char show_char, int attrs, char *message); |