Adjust to changes in ApplicationIconsHandler 74/43374/3
authorTomasz Iwanek <t.iwanek@samsung.com>
Tue, 7 Jul 2015 08:42:25 +0000 (10:42 +0200)
committerPawel Sikorski <p.sikorski@samsung.com>
Mon, 13 Jul 2015 11:54:01 +0000 (04:54 -0700)
Must be merged and submitted together with manifest-parser change:
 - https://review.tizen.org/gerrit/#/c/43373/

Change-Id: Ib4395abbe63673bc0f3685b362ab890693869197

src/wgt/step/step_parse.cc

index a9d5239..357d43c 100755 (executable)
@@ -74,9 +74,9 @@ bool StepParse::FillIconPaths(manifest_x* manifest) {
       std::static_pointer_cast<const ApplicationIconsInfo>(
           parser_->GetManifestData(manifest_keys::kIconsKey));
   if (icons_info.get()) {
-    for (auto& icon_str : icons_info->get_icon_paths()) {
+    for (auto& application_icon : icons_info->icons()) {
       icon_x* icon = reinterpret_cast<icon_x*> (calloc(1, sizeof(icon_x)));
-      icon->name = strdup(icon_str.c_str());
+      icon->name = strdup(application_icon.path().c_str());
       LISTADD(manifest->icon, icon);
     }
   }