Updates after the use of const refs in gesture callbacks 29/30129/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 11 Nov 2014 15:51:32 +0000 (15:51 +0000)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 11 Nov 2014 15:52:04 +0000 (15:52 +0000)
Change-Id: I57d0f94bb619b964462def1506177cf84c96763b

adaptors/common/indicator-impl.cpp
adaptors/common/indicator-impl.h

index a612a87..b2d6720 100644 (file)
@@ -1297,7 +1297,7 @@ void Indicator::OnAnimationFinished(Dali::Animation& animation)
   mIsAnimationPlaying = false;
 }
 
-void Indicator::OnPan( Dali::Actor actor, Dali::PanGesture gesture )
+void Indicator::OnPan( Dali::Actor actor, const Dali::PanGesture& gesture )
 {
   if( mServerConnection )
   {
index f5305ec..09ced03 100644 (file)
@@ -253,7 +253,7 @@ private:
    * @param[in] actor  The actor for gesture
    * @param[in] gesture The gesture event
    */
-  void OnPan( Dali::Actor actor, Dali::PanGesture gesture );
+  void OnPan( Dali::Actor actor, const Dali::PanGesture& gesture );
 
   /**
    * Touch event callback on stage.