Commit 506baeb1 authored by Travis Reitter's avatar Travis Reitter
Browse files

More-tightly scope variable in EDS backend.

parent cbf4373f
......@@ -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 &&
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment