apply IPC for drop view
authorkyeongwoo.lee <kyeongwoo.lee@samsung.com>
Thu, 5 Sep 2013 05:47:09 +0000 (14:47 +0900)
committerkyeongwoo.lee <kyeongwoo.lee@samsung.com>
Thu, 5 Sep 2013 05:47:09 +0000 (14:47 +0900)
Change-Id: I6c997e2e6f28c07e4aae1dc4019a92e59122c916

src/FShell_AppWidgetPopupContext.cpp

index a1190e7084acfd21a27eafa0d8c6a79c1af836f4..f9153b049d001bdb53ae8b9500de73f44aac95cf 100644 (file)
@@ -87,7 +87,7 @@ _AppWidgetPopupContext::SendPopupCreateRequest(double x, double y, int width, in
        pArgs->Add(new String(ARG_KEY_POPUP_WIDTH), new String(Integer::ToString(width)));
        pArgs->Add(new String(ARG_KEY_POPUP_HEIGHT), new String(Integer::ToString(height)));
 
-       return _AppWidgetRequestHelper::SendAppControlRequest(__pParent->GetAppId(), APPWIDGET_POPUP_ON_CREATE, pArgs.get());
+       return __pParent->GetAppContext()->SendRequestToApp(__pParent->GetAppId(), APPWIDGET_POPUP_ON_CREATE, pArgs.release());
 }
 
 result
@@ -95,7 +95,7 @@ _AppWidgetPopupContext::SendPopupDestroyRequest(void)
 {
        std::unique_ptr<HashMap, AllElementsDeleter> pArgs (__pParent->CreateRequestArgsN() );
 
-       return _AppWidgetRequestHelper::SendAppControlRequest(__pParent->GetAppId(), APPWIDGET_POPUP_ON_DESTROY, pArgs.get());
+       return __pParent->GetAppContext()->SendRequestToApp(__pParent->GetAppId(), APPWIDGET_POPUP_ON_DESTROY, pArgs.release());
 }
 
 void