~ci-train-bot/unity-control-center/unity-control-center-ubuntu-artful-2861

Viewing all changes in revision 12892.

  • Committer: Bileto Bot
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2017-07-10 11:00:57 UTC
  • mfrom: (12885.3.3 ucc)
  • Revision ID: ci-train-bot@canonical.com-20170710110057-22eh8c0bvjyunr8f
GroupedGSettings: ensure we ref the variant's before setting them

Otherwise when we set floating references they get consumed
by the first call to g_settings_set_value and the value becomes
invalid. Thus we need to remove the floating reference, and
manually ref and unref.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: