~ci-train-bot/unity/unity-ubuntu-xenial-3161

« back to all changes in this revision

Viewing changes to hud/HudController.cpp

  • Committer: Bileto Bot
  • Date: 2018-02-21 19:33:48 UTC
  • mfrom: (4116.1.3 unity-x)
  • Revision ID: ci-train-bot@canonical.com-20180221193348-7d40l84ykevc1det
* Unity use track_obj to safely connect to UScreen and Settings
  signals (LP: #1748330) (LP: #1748330)
* CairoBaseWindow: don't try to compute the blur of an invalid texture
  (LP: #1290056)
* Unity: use new definition of infinite CompRegion's

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
  }
84
84
 
85
85
  SetupWindow();
86
 
  UScreen::GetDefault()->changed.connect([this] (int, std::vector<nux::Geometry> const&) { Relayout(true); });
 
86
  UScreen::GetDefault()->changed.connect(sigc::track_obj([this] (int, std::vector<nux::Geometry> const&) { Relayout(true); }, *this));
87
87
 
88
88
  ubus.RegisterInterest(UBUS_HUD_CLOSE_REQUEST, sigc::mem_fun(this, &Controller::OnExternalHideHud));
89
89