Added current window reference to command functions
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user