[folks] More-tightly scope variable in EDS backend.



commit 506baeb119df6a2288754dbbb9ce48a802e0e82b
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Mon Sep 26 15:44:47 2011 -0700

    More-tightly scope variable in EDS backend.

 backends/eds/lib/edsf-persona-store.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/backends/eds/lib/edsf-persona-store.vala b/backends/eds/lib/edsf-persona-store.vala
index 61d5d6f..355116c 100644
--- a/backends/eds/lib/edsf-persona-store.vala
+++ b/backends/eds/lib/edsf-persona-store.vala
@@ -1947,12 +1947,12 @@ public class Edsf.PersonaStore : Folks.PersonaStore
     {
       bool is_default = false;
 
-      E.SourceList sources;
       try
         {
           /* By peeking at the default source instead of checking the value of
            * the "default" property, we include EDS's fallback logic for the
            * "system" address book */
+          E.SourceList sources;
           E.BookClient.get_sources (out sources);
           var default_source = sources.peek_default_source ();
           if (default_source != null &&



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