Revert "[4.0] Removed DEPRECATION WARNING by ImageView::New( image ) and SetImage... 21/154821/1
authortaeyoon0.lee <taeyoon0.lee@samsung.com>
Wed, 11 Oct 2017 09:07:39 +0000 (18:07 +0900)
committertaeyoon0.lee <taeyoon0.lee@samsung.com>
Wed, 11 Oct 2017 09:07:51 +0000 (18:07 +0900)
This reverts commit c08de1cb98250054dffa83b07dfef29e6486e28d.

Change-Id: Ib024f382f0a1aa37c35a8394d29bbc1c4f9ad700

dali-toolkit/public-api/controls/image-view/image-view.cpp

index 5e0ffa7..02d3e0d 100644 (file)
@@ -61,6 +61,8 @@ ImageView ImageView::New()
 
 ImageView ImageView::New( Image image )
 {
+  DALI_LOG_WARNING_NOFN("DEPRECATION WARNING: New() is deprecated and will be removed from next release. use New( const std::string& ) instead.\n" );
+
   ImageView imageView = Internal::ImageView::New();
   imageView.SetImage( image );
   return imageView;
@@ -87,6 +89,8 @@ ImageView ImageView::DownCast( BaseHandle handle )
 
 void ImageView::SetImage( Image image )
 {
+  DALI_LOG_WARNING_NOFN("DEPRECATION WARNING: SetImage() is deprecated and will be removed from next release. Use SetImage( const std::string& ) instead.\n" );
+
   Dali::Toolkit::GetImpl( *this ).SetImage( image );
 }