~khurshid-alam/libunity/vala-fix

« back to all changes in this revision

Viewing changes to src/unity-launcher.vala

  • Committer: CI Train Bot
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2015-10-02 00:32:22 UTC
  • mfrom: (316.1.1 libunity)
  • Revision ID: ci-train-bot@canonical.com-20151002003222-t9ctor7bn725s0ey
UnityLauncher: use member setting variable instead of a temporary one Fixes: #1498089
Approved by: PS Jenkins bot, Sebastien Bacher

Show diffs side-by-side

added added

removed removed

Lines of Context:
365
365
 
366
366
      if (schema_src != null)
367
367
      {
368
 
        var settings = new Settings.full (schema_src, null, null);
 
368
        settings = new Settings.full (schema_src, null, null);
369
369
        reset_fav_cache ();
370
370
 
371
371
        settings.changed["favorites"].connect (reset_fav_cache);