From: Adeel Kazmi Date: Tue, 20 Dec 2016 10:46:50 +0000 (+0000) Subject: Remove incorrect Deprecated warning from Internal::Control X-Git-Tag: dali_1.2.20~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F94%2F106094%2F1;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git 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 --- diff --git a/dali-toolkit/public-api/controls/control-impl.cpp b/dali-toolkit/public-api/controls/control-impl.cpp index 9fa9291..39128d0 100644 --- a/dali-toolkit/public-api/controls/control-impl.cpp +++ b/dali-toolkit/public-api/controls/control-impl.cpp @@ -1051,12 +1051,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 )