From 380cdb40c8cb0aaefb60134268744e0331c35385 Mon Sep 17 00:00:00 2001 From: Seoyeon Kim Date: Fri, 30 Dec 2016 13:38:42 +0900 Subject: [PATCH] Fix the warning log in Control causing the wrong position Change-Id: I8eee4d59970c3c1243e6155961089d7a085e75c1 Signed-off-by: Seoyeon Kim --- dali-toolkit/public-api/controls/control.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dali-toolkit/public-api/controls/control.cpp b/dali-toolkit/public-api/controls/control.cpp index 415ffb6..b882c1d 100644 --- a/dali-toolkit/public-api/controls/control.cpp +++ b/dali-toolkit/public-api/controls/control.cpp @@ -109,8 +109,6 @@ const std::string& Control::GetStyleName() const void Control::SetBackgroundColor( const Vector4& color ) { - DALI_LOG_WARNING_NOFN("DEPRECATION WARNING: SetBackgroundColor() is deprecated and will be removed from next release. use Property::BACKGROUND instead.\n" ); - Internal::GetImplementation(*this).SetBackgroundColor( color ); } @@ -123,6 +121,8 @@ Vector4 Control::GetBackgroundColor() const void Control::SetBackgroundImage( Image image ) { + DALI_LOG_WARNING_NOFN("DEPRECATION WARNING: SetBackgroundImage() is deprecated and will be removed from next release. use Property::BACKGROUND instead.\n" ); + Internal::GetImplementation(*this).SetBackgroundImage( image ); } -- 2.7.4