Added current window reference to command functions

This commit is contained in:
James Booth
2015-06-17 00:15:28 +01:00
parent cfef64c767
commit 2215a3791f
24 changed files with 582 additions and 578 deletions

View File

@@ -25,7 +25,7 @@ void clears_chat_sessions(void **state)
will_return(jabber_get_fulljid, "myjid@myserver.com");
expect_any_cons_show();
gboolean result = cmd_disconnect(NULL, *help);
gboolean result = cmd_disconnect(NULL, NULL, *help);
assert_true(result);
@@ -34,4 +34,4 @@ void clears_chat_sessions(void **state)
assert_null(session1);
assert_null(session2);
free(help);
}
}