[Release] wrt-installer_0.1.85
[platform/framework/web/wrt-installer.git] / src / jobs / widget_install / task_widget_config.cpp
index f77a8b7..00c5fa0 100755 (executable)
@@ -34,6 +34,7 @@
 #include <dpl/utils/wrt_global_settings.h>
 #include <dpl/utils/wrt_utility.h>
 #include <dpl/wrt-dao-ro/global_config.h>
+#include <dpl/wrt-dao-ro/config_parser_data.h>
 #include <dpl/wrt-dao-rw/feature_dao.h>
 
 #include <libiriwrapper.h>
@@ -122,8 +123,6 @@ void TaskWidgetConfig::ReadLocaleFolders()
         return;
     }
 
-
-
     struct stat statStruct;
     struct dirent dirent;
     struct dirent *result;
@@ -537,13 +536,14 @@ void TaskWidgetConfig::StepVerifyLivebox()
 
         LogInfo("livebox type: " << boxType);
 
-        boxSizeType boxSizeList = (**it).m_boxInfo.m_boxSize;
+        ConfigParserData::LiveboxInfo::BoxSizeList boxSizeList =
+            (**it).m_boxInfo.m_boxSize;
         char** boxSize = static_cast<char**>(
             malloc(sizeof(char*)* boxSizeList.size()));
 
         int boxSizeCnt = 0;
         FOREACH (m, boxSizeList) {
-            boxSize[boxSizeCnt++] = strdup(DPL::ToUTF8String((*m).first).c_str());
+            boxSize[boxSizeCnt++] = strdup(DPL::ToUTF8String((*m).m_size).c_str());
         }
 
         bool chkSize = web_provider_plugin_check_supported_size(