Add package paremeter to application filter
[platform/core/appfw/pkgmgr-info.git] / src / server / filter_checker / app_filter_checker / icon_app_filter_checker.cc
index f04fc29..362a63e 100644 (file)
@@ -23,11 +23,11 @@ namespace pkgmgr_server {
 namespace database {
 
 bool IconAppFilterChecker::CheckFilter(pkgmgrinfo_node_x* node,
-                                             application_x* info) {
+    application_x* app_info, package_x* pkg_info) {
   if (node->value == nullptr)
     return false;
 
-  for (auto* it = info->icon; it; it = g_list_next(it)) {
+  for (auto* it = app_info->icon; it; it = g_list_next(it)) {
     auto path = reinterpret_cast<icon_x*>(it->data)->text;
     if (path != nullptr && strcmp(path, node->value) == 0)
       return true;