Change deprecated API
authorChoongeun Hong <cheun.hong@samsung.com>
Thu, 9 May 2013 02:13:40 +0000 (11:13 +0900)
committerChoongeun Hong <cheun.hong@samsung.com>
Thu, 9 May 2013 02:13:40 +0000 (11:13 +0900)
Change-Id: Ia308cbe7cc79d652210b0106bd6d7ac553a9a16e
Signed-off-by: Choongeun Hong <cheun.hong@samsung.com>
project/src/AppWidgetViewerMainForm.cpp
project/src/ViewForm.cpp

index 0df13ca..7c00bff 100644 (file)
@@ -98,7 +98,7 @@ AppWidgetViewerMainForm::OnInitializing(void)
        __pList->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height), true, false);
        __pList->SetItemProvider(*this);
        __pList->AddListViewItemEventListener(*this);
-       AddControl(*__pList);
+       AddControl(__pList);
 
        return r;
 }
index c3d2e31..c54a71c 100644 (file)
@@ -96,7 +96,7 @@ ViewForm::CreateAppWidgetView(const Tizen::Base::String& appId, const Tizen::Bas
                result r = pAppWidgetView->Construct(appId, providerName, FloatRectangle(VIEW_X, VIEW_Y, VIEW_WIDTH, VIEW_HEIGHT), userInfo);
                TryReturnVoid(r == E_SUCCESS, "[%s] Propagating.", GetErrorMessage(r));
 
-               AddControl(*pAppWidgetView);
+               AddControl(pAppWidgetView);
        }
 
        __pAppWidgetView = pAppWidgetView.release();