Rename UNCONNECTED FSM and protocol state to NOT_CONNECTED

The former is ambiguous, the latter is not.
This commit is contained in:
Michael Gratton 2019-08-10 11:46:35 +10:00
parent 63210247dd
commit eb6afae358
3 changed files with 20 additions and 18 deletions

View file

@ -33,7 +33,7 @@ class Integration.Imap.ClientSession : TestCase {
}
public override void tear_down() throws GLib.Error {
if (this.session.get_protocol_state(null) != UNCONNECTED) {
if (this.session.get_protocol_state(null) != NOT_CONNECTED) {
this.session.disconnect_async.begin(null, async_complete_full);
this.session.disconnect_async.end(async_result());
}