Remove unnecessary method from control-impl
[platform/core/uifw/dali-toolkit.git] / base / dali-toolkit / public-api / controls / control-impl.cpp
index bc97f30..7fcbf76 100644 (file)
@@ -604,7 +604,7 @@ void Control::Initialize()
     Toolkit::StyleManager styleManager = Toolkit::StyleManager::Get();
 
     // Register for style changes
-    styleManager.StyleChangeSignal().Connect( this, &ControlImpl::DoStyleChange );
+    styleManager.StyleChangeSignal().Connect( this, &Control::DoStyleChange );
 
     // SetTheme
     GetImpl( styleManager ).ApplyThemeStyle( GetOwner() );
@@ -953,9 +953,6 @@ void Control::DoStyleChange( Toolkit::StyleManager styleManager, StyleChange cha
   }
   else if( change.defaultFontChange || change.defaultFontSizeChange )
   {
-    // This OnStyleChange(StyleChange change ) is deprecated, use OnFontChange instead
-    OnStyleChange( change );
-
     OnFontChange( change.defaultFontChange, change.defaultFontSizeChange );
   }
 }
@@ -1283,17 +1280,6 @@ void Control::SignalDisconnected( SlotObserver* slotObserver, CallbackBase* call
   mImpl->SignalDisconnected( slotObserver, callback );
 }
 
-std::size_t Control::GetConnectionCount() const
-{
-  return mImpl->GetConnectionCount();
-}
-
-Control::Control( bool requiresTouchEvents )
-: CustomActorImpl( requiresTouchEvents ),
-  mImpl(new Impl(*this))
-{
-}
-
 Control::Control( ControlBehaviour behaviourFlags )
 : CustomActorImpl( behaviourFlags & REQUIRES_TOUCH_EVENTS ),
   mImpl(new Impl(*this))