From: JongWoo Lee Date: Thu, 20 Jun 2013 04:52:59 +0000 (+0530) Subject: Modified exception code X-Git-Tag: accepted/tizen/20130924.144426~1^2~474^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f7fab6fbda49d82fe2d18a51862a917e8438316;p=platform%2Fframework%2Fnative%2Fuifw.git Modified exception code Change-Id: I36c595d5c5bcf5adc48651f75736eede0f7db0f8 Signed-off-by: JongWoo Lee --- diff --git a/src/ui/controls/FUiCtrl_GalleryRenderer.cpp b/src/ui/controls/FUiCtrl_GalleryRenderer.cpp index 2717255..02b6eef 100644 --- a/src/ui/controls/FUiCtrl_GalleryRenderer.cpp +++ b/src/ui/controls/FUiCtrl_GalleryRenderer.cpp @@ -124,14 +124,14 @@ result _GalleryRenderer::SetCanvasVisibility(int canvasIndex, bool visibility) { _GalleryCanvas* pCanvas = GetCanvasManager().GetCanvas(canvasIndex); + result r = GetLastResult(); + SysTryReturn(NID_UI_CTRL, pCanvas != null, r, r, "[%s] Propagating.", GetErrorMessage(r)); + if (pCanvas->IsVisibility() == visibility) { return E_SUCCESS; } - result r = GetLastResult(); - SysTryReturn(NID_UI_CTRL, pCanvas != null, r, r, "[%s] Propagating.", GetErrorMessage(r)); - pCanvas->GetFrameVisualElement().SetImplicitAnimationEnabled(false); if (visibility == true)