From 48ec7b3b4753c265e6141b587fcadc3331a6812b Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 16 Dec 2014 23:00:05 +0000 Subject: Moved roster functions --- tests/ui/mock_ui.c | 6 +++--- tests/ui/mock_ui.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/ui') diff --git a/tests/ui/mock_ui.c b/tests/ui/mock_ui.c index 17d58c04..f84ce2e2 100644 --- a/tests/ui/mock_ui.c +++ b/tests/ui/mock_ui.c @@ -29,7 +29,7 @@ void _stub_cons_show(const char * const msg, ...) } static -void _stub_ui_roster(void) +void _stub_rosterwin_roster(void) { } @@ -206,9 +206,9 @@ stub_ui_chat_win_contact_online(void) } void -stub_ui_roster(void) +stub_rosterwin_roster(void) { - ui_roster = _stub_ui_roster; + rosterwin_roster = _stub_rosterwin_roster; } void diff --git a/tests/ui/mock_ui.h b/tests/ui/mock_ui.h index 99a460ac..7214ca52 100644 --- a/tests/ui/mock_ui.h +++ b/tests/ui/mock_ui.h @@ -10,7 +10,7 @@ #include "ui/window.h" void stub_cons_show(void); -void stub_ui_roster(void); +void stub_rosterwin_roster(void); void mock_cons_show(void); void expect_cons_show(char *output); -- cgit 1.4.1-2-gfad0