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 a612a87cd64a24734645aaf06e280794938c9f4a..b2d672074e975afa038fac971e8db2b667931a97 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 f5305ecb97c296bdb9cc8be1b5e5cb7a01672125..09ced038b224cdca0af1886f36dd722164636135 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.