Merge "Fix the warning log in Control causing the wrong position" into devel/master
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 9 Jan 2017 10:05:45 +0000 (02:05 -0800)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Mon, 9 Jan 2017 10:05:46 +0000 (02:05 -0800)
dali-toolkit/public-api/controls/control.cpp

index 415ffb6..b882c1d 100644 (file)
@@ -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 );
 }