telepathy: Clarify nullability of Tpf.PersonaStore._conn
authorPhilip Withnall <philip@tecnocode.co.uk>
Sun, 2 Sep 2012 20:20:31 +0000 (21:20 +0100)
committerJeremy Whiting <jpwhiting@kde.org>
Wed, 5 Sep 2012 23:03:41 +0000 (17:03 -0600)
backends/telepathy/lib/tpf-persona-store.vala

index eb152d6..74c8ce0 100644 (file)
@@ -62,7 +62,7 @@ public class Tpf.PersonaStore : Folks.PersonaStore
    * this should *not* be cleared in _reset(). */
   private HashMap<string, File> _avatars = new HashMap<string, File> ();
 
-  private Connection _conn;
+  private Connection? _conn; /* null when disconnected */
   private AccountManager? _account_manager; /* only null before prepare() */
   private Logger _logger;
   private Persona? _self_persona;