if ( handler && handler->mWindow && transformEvent->output == ecore_wl_window_output_find( handler->mEcoreWindow ) )
{
ECore::WindowRenderSurface* wlSurface( dynamic_cast< ECore::WindowRenderSurface * >( handler->mWindow->mSurface ) );
if ( handler && handler->mWindow && transformEvent->output == ecore_wl_window_output_find( handler->mEcoreWindow ) )
{
ECore::WindowRenderSurface* wlSurface( dynamic_cast< ECore::WindowRenderSurface * >( handler->mWindow->mSurface ) );
- if( wlSurface )
- {
- wlSurface->OutputTransformed();
- }
+ wlSurface->OutputTransformed();
}
return ECORE_CALLBACK_PASS_ON;
}
return ECORE_CALLBACK_PASS_ON;
if ( handler && handler->mWindow && ignoreTransformEvent->win == handler->mEcoreWindow )
{
ECore::WindowRenderSurface* wlSurface( dynamic_cast< ECore::WindowRenderSurface * >( handler->mWindow->mSurface ) );
if ( handler && handler->mWindow && ignoreTransformEvent->win == handler->mEcoreWindow )
{
ECore::WindowRenderSurface* wlSurface( dynamic_cast< ECore::WindowRenderSurface * >( handler->mWindow->mSurface ) );
- if( wlSurface )
- {
- wlSurface->OutputTransformed();
- }
+ wlSurface->OutputTransformed();
}
return ECORE_CALLBACK_PASS_ON;
}
return ECORE_CALLBACK_PASS_ON;
int ret;
if(retrieved == true)
int ret;
if(retrieved == true)
ret = system_info_get_platform_bool("http://tizen.org/feature/shell.appwidget", &feature);
if(ret != SYSTEM_INFO_ERROR_NONE)
ret = system_info_get_platform_bool("http://tizen.org/feature/shell.appwidget", &feature);
if(ret != SYSTEM_INFO_ERROR_NONE)
if (bundleData == NULL)
{
if (bundleData == NULL)
{
- DALI_LOG_ERROR("out of memory");
- return -1;
+ DALI_LOG_ERROR("out of memory");
+ return -1;
}
bundle_add_str(bundleData, AUL_K_WIDGET_ID, classId);
bundle_add_str(bundleData, AUL_K_WIDGET_INSTANCE_ID, instanceId);
bundle_add_byte(bundleData, AUL_K_WIDGET_STATUS, &status, sizeof(int));
}
bundle_add_str(bundleData, AUL_K_WIDGET_ID, classId);
bundle_add_str(bundleData, AUL_K_WIDGET_INSTANCE_ID, instanceId);
bundle_add_byte(bundleData, AUL_K_WIDGET_STATUS, &status, sizeof(int));
char temp[256] = {0, };
char *packageId = NULL;
if(aul_app_get_pkgid_bypid(getpid(), temp, sizeof(temp)) == 0)
{
char temp[256] = {0, };
char *packageId = NULL;
if(aul_app_get_pkgid_bypid(getpid(), temp, sizeof(temp)) == 0)
{
- packageId = strdup(temp);
+ packageId = strdup(temp);
- DALI_LOG_ERROR("package_id is NULL");
- bundle_free(bundleData);
- return -1;
+ DALI_LOG_ERROR("package_id is NULL");
+ return -1;
}
bundle_add_str(bundleData, AUL_K_PKGID, packageId);
}
bundle_add_str(bundleData, AUL_K_PKGID, packageId);
if (ret < 0)
DALI_LOG_ERROR("send lifecycle error:%d\n", ret);
if (ret < 0)
DALI_LOG_ERROR("send lifecycle error:%d\n", ret);
bundle_free(bundleData);
return ret;
bundle_free(bundleData);
return ret;