diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2013-07-18 04:51:34 +0200 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2013-07-18 04:51:34 +0200 |
| commit | 39cd6a07c8ee9daae6e2399ca0170a0bd0e5ad8d (patch) | |
| tree | 52788c8254aa776c204b012a371fe6c408a2f30f /unity-shared | |
| parent | 762bc06195a5474a6a35db526de760ae20dd44de (diff) | |
PlacesOverlayVScrollBar: use connection::Wrapper
(bzr r3427.1.19)
Diffstat (limited to 'unity-shared')
| -rw-r--r-- | unity-shared/PlacesOverlayVScrollBar.cpp | 2 | ||||
| -rw-r--r-- | unity-shared/PlacesOverlayVScrollBar.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/unity-shared/PlacesOverlayVScrollBar.cpp b/unity-shared/PlacesOverlayVScrollBar.cpp index d48693e4b..f879dabdc 100644 --- a/unity-shared/PlacesOverlayVScrollBar.cpp +++ b/unity-shared/PlacesOverlayVScrollBar.cpp @@ -91,7 +91,7 @@ void PlacesOverlayVScrollBar::OnSensitivityChanged(nux::Area* /*area*/, bool sen void PlacesOverlayVScrollBar::SetupAnimation(int start, int stop, int milliseconds) { - tweening_connection_.disconnect(); + tweening_connection_->disconnect(); delta_update_ = 0; animation_.SetDuration(milliseconds); diff --git a/unity-shared/PlacesOverlayVScrollBar.h b/unity-shared/PlacesOverlayVScrollBar.h index dc8962608..a32e4f18a 100644 --- a/unity-shared/PlacesOverlayVScrollBar.h +++ b/unity-shared/PlacesOverlayVScrollBar.h @@ -23,6 +23,7 @@ #include <Nux/Nux.h> #include <Nux/InputAreaProximity.h> #include <NuxCore/Animation.h> +#include <UnityCore/ConnectionManager.h> #include <memory> #include "unity-shared/PlacesVScrollBar.h" @@ -94,7 +95,7 @@ private: nux::InputAreaProximity area_prox_; nux::animation::AnimateValue<int> animation_; - sigc::connection tweening_connection_; + connection::Wrapper tweening_connection_; nux::ObjectPtr<nux::BaseTexture> connector_texture_; |
