[folks] Don't initialise favourite contacts support if the Logger	doesn't exist
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [folks] Don't initialise favourite contacts support if the Logger	doesn't exist
- Date: Wed, 21 Jul 2010 16:34:48 +0000 (UTC)
commit 98fe95b2d3428f24833023b2aec70d8a5c932204
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Fri Jul 9 11:04:52 2010 +0100
    Don't initialise favourite contacts support if the Logger doesn't exist
 backends/telepathy/tpf-persona-store.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/backends/telepathy/tpf-persona-store.vala b/backends/telepathy/tpf-persona-store.vala
index 095142c..bf1c58d 100644
--- a/backends/telepathy/tpf-persona-store.vala
+++ b/backends/telepathy/tpf-persona-store.vala
@@ -172,6 +172,9 @@ public class Tpf.PersonaStore : Folks.PersonaStore
 
   private async void initialise_favourite_contacts ()
     {
+      if (this.logger == null)
+        return;
+
       /* Get an initial set of favourite contacts */
       try
         {
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]