Cleaning up size negotiation
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / controls / page-turn-view / page-turn-view-impl.cpp
index 0f5400a..b55b757 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -455,8 +455,6 @@ void PageTurnView::OnControlStageDisconnection()
 
 void PageTurnView::OnControlSizeSet( const Vector3& size )
 {
-  // disable the SetSize of the control from the application
-  Self().SetSize( mControlSize );
 }
 
 void PageTurnView::SetSpineShadowParameter( const Vector2& spineShadowParameter )