about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-10-27 00:19:22 +0000
committerJames Booth <boothj5@gmail.com>2015-10-27 00:19:22 +0000
commit124aaa9809ee13b382f47f6f3e175bd7fdb98dc5 (patch)
tree8346aecaa20402dc9ac3c84b5fee8573d5341741 /tests
parent8bd74cefcf73772a52b40c919a1e70da90be8a33 (diff)
downloadprofani-tty-124aaa9809ee13b382f47f6f3e175bd7fdb98dc5.tar.gz
remaining otr functions take ProfChatWin
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/ui/stub_ui.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c
index 77c8dd17..f6f4cb78 100644
--- a/tests/unittests/ui/stub_ui.c
+++ b/tests/unittests/ui/stub_ui.c
@@ -68,8 +68,8 @@ void ui_switch_win(ProfWin *win) {}
 
 void ui_gone_secure(ProfChatWin *chatwin, gboolean trusted) {}
 void ui_gone_insecure(ProfChatWin *chatwin) {}
-void ui_trust(const char * const barejid) {}
-void ui_untrust(const char * const barejid) {}
+void ui_trust(ProfChatWin *chatwin) {}
+void ui_untrust(ProfChatWin *chatwin) {}
 void ui_smp_recipient_initiated(ProfChatWin *chatwin) {}
 void ui_smp_recipient_initiated_q(ProfChatWin *chatwin, const char *question) {}
 
@@ -78,11 +78,11 @@ void ui_smp_unsuccessful_sender(ProfChatWin *chatwin) {}
 void ui_smp_unsuccessful_receiver(ProfChatWin *chatwin) {}
 void ui_smp_aborted(ProfChatWin *chatwin) {}
 
-void ui_smp_answer_success(const char * const barejid) {}
-void ui_smp_answer_failure(const char * const barejid) {}
+void ui_smp_answer_success(ProfChatWin *chatwin) {}
+void ui_smp_answer_failure(ProfChatWin *chatwin) {}
 
-void ui_otr_authenticating(const char * const barejid) {}
-void ui_otr_authetication_waiting(const char * const recipient) {}
+void ui_otr_authenticating(ProfChatWin *chatwin) {}
+void ui_otr_authetication_waiting(ProfChatWin *chatwin) {}
 void ui_sigwinch_handler(int sig) {}
 
 unsigned long ui_get_idle_time(void)