about summary refs log tree commit diff stats
path: root/tests/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-04-12 15:20:19 +0100
committerJames Booth <boothj5@gmail.com>2014-04-12 15:20:19 +0100
commit2fafcf001344f85965a0d1984860f092b7e19b7e (patch)
tree695a74d99643ee6b0fd814fdbf9426b561285149 /tests/ui
parent6dabbbd54140fb161d2a03d6d3f4fe67585311c6 (diff)
downloadprofani-tty-2fafcf001344f85965a0d1984860f092b7e19b7e.tar.gz
Revert "Added ui_already_connected"
This reverts commit e97ec56fce641554ff7aa2ff9f0583e1fb9fc364.
Diffstat (limited to 'tests/ui')
-rw-r--r--tests/ui/mock_ui.c11
-rw-r--r--tests/ui/mock_ui.h4
2 files changed, 1 insertions, 14 deletions
diff --git a/tests/ui/mock_ui.c b/tests/ui/mock_ui.c
index 0e01be25..94f8e3c3 100644
--- a/tests/ui/mock_ui.c
+++ b/tests/ui/mock_ui.c
@@ -83,11 +83,6 @@ char * _stub_ui_ask_password(void)
 }
 
 static
-void _stub_ui_already_connected(void)
-{
-}
-
-static
 win_type_t _mock_ui_current_win_type(void)
 {
     return (win_type_t)mock();
@@ -264,12 +259,6 @@ stub_cons_show(void)
 }
 
 void
-stub_ui_already_connected(void)
-{
-    ui_already_connected = _stub_ui_already_connected;
-}
-
-void
 stub_ui_handle_recipient_not_found(void)
 {
     ui_handle_recipient_not_found = _stub_ui_handle_recipient_not_found;
diff --git a/tests/ui/mock_ui.h b/tests/ui/mock_ui.h
index 70c9f3b3..5b984615 100644
--- a/tests/ui/mock_ui.h
+++ b/tests/ui/mock_ui.h
@@ -66,6 +66,4 @@ void cons_show_roster_expect(GSList *list);
 
 void ui_switch_win_expect_and_return(int given_i, gboolean result);
 
-void stub_ui_already_connected(void);
-
-#endif
\ No newline at end of file
+#endif