[folks] IndividualAggregator: state that the primary-store can be null



commit a2fc4e5744753462f42df45ab33e390c0b69ccbc
Author: Raul Gutierrez Segales <rgs collabora co uk>
Date:   Fri Aug 26 11:31:25 2011 +0100

    IndividualAggregator: state that the primary-store can be null

 folks/individual-aggregator.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/folks/individual-aggregator.vala b/folks/individual-aggregator.vala
index 25a8664..c4b8390 100644
--- a/folks/individual-aggregator.vala
+++ b/folks/individual-aggregator.vala
@@ -58,7 +58,7 @@ public class Folks.IndividualAggregator : Object
 {
   private BackendStore _backend_store;
   private HashMap<string, PersonaStore> _stores;
-  private unowned PersonaStore _writeable_store;
+  private unowned PersonaStore? _writeable_store;
   private HashSet<Backend> _backends;
   private HashTable<string, Individual> _link_map;
   private bool _linking_enabled = true;
@@ -93,7 +93,7 @@ public class Folks.IndividualAggregator : Object
    *
    * @since 0.5.0
    */
-  public PersonaStore primary_store
+  public PersonaStore? primary_store
     {
       get { return this._writeable_store; }
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]