summaryrefslogtreecommitdiff
path: root/unity-shared
diff options
Diffstat (limited to 'unity-shared')
-rw-r--r--unity-shared/PlacesOverlayVScrollBar.cpp2
-rw-r--r--unity-shared/PlacesOverlayVScrollBar.h3
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_;