"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "app/flatpak-builtins-uninstall.c" between
flatpak-1.15.1.tar.xz and flatpak-1.15.2.tar.xz

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

flatpak-builtins-uninstall.c  (flatpak-1.15.1.tar.xz):flatpak-builtins-uninstall.c  (flatpak-1.15.2.tar.xz)
skipping to change at line 183 skipping to change at line 183
} }
is_extension = flatpak_dir_is_runtime_extension (udir->dir, ref); is_extension = flatpak_dir_is_runtime_extension (udir->dir, ref);
if (is_extension) if (is_extension)
{ {
apps = flatpak_dir_list_app_refs_with_runtime_extension (udir->dir, apps = flatpak_dir_list_app_refs_with_runtime_extension (udir->dir,
&udir->runtime_ap p_map, &udir->runtime_ap p_map,
&udir->extension_ app_map, &udir->extension_ app_map,
ref, NULL, &local _error); ref, NULL, &local _error);
if (apps == NULL) if (apps == NULL)
g_debug ("Unable to list apps using extension %s: %s\n", g_info ("Unable to list apps using extension %s: %s\n",
flatpak_decomposed_get_ref (ref), local_error->message); flatpak_decomposed_get_ref (ref), local_error->message);
} }
else else
{ {
apps = flatpak_dir_list_app_refs_with_runtime (udir->dir, apps = flatpak_dir_list_app_refs_with_runtime (udir->dir,
&udir->runtime_app_map, &udir->runtime_app_map,
ref, NULL, &local_error); ref, NULL, &local_error);
if (apps == NULL) if (apps == NULL)
g_debug ("Unable to list apps using runtime %s: %s\n", g_info ("Unable to list apps using runtime %s: %s\n",
flatpak_decomposed_get_ref (ref), local_error->message); flatpak_decomposed_get_ref (ref), local_error->message);
} }
if (apps == NULL || apps->len == 0) if (apps == NULL || apps->len == 0)
return TRUE; return TRUE;
/* Exclude any apps that will be removed by the current transaction */ /* Exclude any apps that will be removed by the current transaction */
for (guint i = 0; i < udir->refs->len; i++) for (guint i = 0; i < udir->refs->len; i++)
{ {
FlatpakDecomposed *uninstall_ref = g_ptr_array_index (udir->refs, i); FlatpakDecomposed *uninstall_ref = g_ptr_array_index (udir->refs, i);
guint j; guint j;
 End of changes. 2 change blocks. 
4 lines changed or deleted 4 lines changed or added

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