-
Simon McVittie authored
Many of the changes are `#if 0`. Main changes that have a practical effect on steam-runtime-tools: * flatpak_exports_add_path_expose(), etc. return a GError, which we convert into a warning- or info-level message in the same way that flatpak_context_export() would. To facilitate this, add helper functions in pressure-vessel/exports.c. * flatpak-context.c is no longer included here, and all of the declarations in its header are now `#if 0`. The only parts that we use are the enums in the header, which are still present; the array `dont_mount_in_root`, which has been moved into wrap-setup.c; and the new `log_cannot_export_error` function, which has been moved into exports.c. Signed-off-by:
Simon McVittie <smcv@collabora.com>
Simon McVittie authoredMany of the changes are `#if 0`. Main changes that have a practical effect on steam-runtime-tools: * flatpak_exports_add_path_expose(), etc. return a GError, which we convert into a warning- or info-level message in the same way that flatpak_context_export() would. To facilitate this, add helper functions in pressure-vessel/exports.c. * flatpak-context.c is no longer included here, and all of the declarations in its header are now `#if 0`. The only parts that we use are the enums in the header, which are still present; the array `dont_mount_in_root`, which has been moved into wrap-setup.c; and the new `log_cannot_export_error` function, which has been moved into exports.c. Signed-off-by:
Simon McVittie <smcv@collabora.com>