[gnome-software/1649-support-appstream-merging: 9/10] gs-plugin-appstream: Use gs_appstream_add_data_merge_fixup()




commit 0627abdd95b63f60e6b5b959107ece162917cb03
Author: Milan Crha <mcrha redhat com>
Date:   Thu Mar 31 12:24:50 2022 +0200

    gs-plugin-appstream: Use gs_appstream_add_data_merge_fixup()
    
    This will merge information from the .desktop files and system merge components
    into the corresponding appstream data.

 plugins/core/gs-plugin-appstream.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/plugins/core/gs-plugin-appstream.c b/plugins/core/gs-plugin-appstream.c
index 434d1a040..ceddb8800 100644
--- a/plugins/core/gs-plugin-appstream.c
+++ b/plugins/core/gs-plugin-appstream.c
@@ -596,6 +596,8 @@ gs_plugin_appstream_check_silo (GsPluginAppstream  *self,
                        if (!gs_appstream_load_desktop_files (builder, dir, NULL, cancellable, error))
                                return FALSE;
                }
+
+               gs_appstream_add_data_merge_fixup (builder, parent_appstream, parent_desktop, cancellable);
        }
 
        /* regenerate with each minor release */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]