From 6dc2998c8094cc893105266484a2a894e5ea2e36 Mon Sep 17 00:00:00 2001 From: Adeel Kazmi Date: Tue, 20 Dec 2016 10:46:50 +0000 Subject: [PATCH] [3.0] Remove incorrect Deprecated warning from Internal::Control This is called from OnChildAdd so a control doing the right thing will always see this warning. Classes overriding this method will not show the wanring which is actually the incorrect thing. Best to just remove it as it's polluting the log. Change-Id: I8509f14b75fd4e8e632f19f9487056454b4fba0c --- dali-toolkit/public-api/controls/control-impl.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/dali-toolkit/public-api/controls/control-impl.cpp b/dali-toolkit/public-api/controls/control-impl.cpp index e0e1383..9bf179f 100644 --- a/dali-toolkit/public-api/controls/control-impl.cpp +++ b/dali-toolkit/public-api/controls/control-impl.cpp @@ -764,12 +764,10 @@ void Control::OnInitialize() void Control::OnControlChildAdd( Actor& child ) { - DALI_LOG_WARNING_NOFN("DEPRECATION WARNING: OnControlChildAdd() is deprecated and will be removed from next release. Override OnChildAdd instead.\n" ); } void Control::OnControlChildRemove( Actor& child ) { - DALI_LOG_WARNING_NOFN("DEPRECATION WARNING: OnControlChildRemove() is deprecated and will be removed from next release. Override OnChildRemove instead.\n" ); } void Control::OnStyleChange( Toolkit::StyleManager styleManager, StyleChange::Type change ) -- 2.7.4