"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "common/flatpak-oci-registry.c" between
flatpak-1.8.2.tar.xz and flatpak-1.8.3.tar.xz

About: Flatpak is a Linux application sandboxing and distribution framework.

flatpak-oci-registry.c  (flatpak-1.8.2.tar.xz):flatpak-oci-registry.c  (flatpak-1.8.3.tar.xz)
skipping to change at line 3117 skipping to change at line 3117
} icon_sizes[] = { } icon_sizes[] = {
{ "org.freedesktop.appstream.icon-64", "64x64" }, { "org.freedesktop.appstream.icon-64", "64x64" },
{ "org.freedesktop.appstream.icon-128", "128x128" }, { "org.freedesktop.appstream.icon-128", "128x128" },
}; };
ref = get_image_ref (image); ref = get_image_ref (image);
if (!ref) if (!ref)
return; return;
ref_parts = g_strsplit (ref, "/", -1); ref_parts = g_strsplit (ref, "/", -1);
if (g_strv_length (ref_parts) != 4 || strcmp (ref_parts[0], "app") != 0) if (g_strv_length (ref_parts) != 4 ||
(strcmp (ref_parts[0], "app") != 0 && strcmp (ref_parts[0], "runtime") !=
0))
return; return;
id = ref_parts[1]; id = ref_parts[1];
appdata = get_image_metadata (image, "org.freedesktop.appstream.appdata"); appdata = get_image_metadata (image, "org.freedesktop.appstream.appdata");
if (!appdata) if (!appdata)
return; return;
in = g_memory_input_stream_new_from_data (appdata, -1, NULL); in = g_memory_input_stream_new_from_data (appdata, -1, NULL);
 End of changes. 1 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)