Port rpmostree-builtin-shlib-backend to C++
Prep for using https://cxx.rs/
This commit is contained in:
parent
4462f16fa4
commit
761e92ab93
@ -40,7 +40,7 @@ rpm_ostree_SOURCES = src/app/main.cxx \
|
||||
src/app/rpmostree-builtin-status.cxx \
|
||||
src/app/rpmostree-builtin-ex.cxx \
|
||||
src/app/rpmostree-builtin-testutils.cxx \
|
||||
src/app/rpmostree-builtin-shlib-backend.c \
|
||||
src/app/rpmostree-builtin-shlib-backend.cxx \
|
||||
src/app/rpmostree-builtin-db.c \
|
||||
src/app/rpmostree-builtin-start-daemon.c \
|
||||
src/app/rpmostree-builtin-finalize-deployment.c \
|
||||
|
@ -71,7 +71,7 @@ impl_packagelist_from_commit (OstreeRepo *repo, const char *commit, GError **err
|
||||
{
|
||||
if (g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND))
|
||||
return g_variant_new_maybe ((GVariantType*) RPMOSTREE_SHLIB_IPC_PKGLIST, NULL);
|
||||
g_propagate_error (error, g_steal_pointer (&local_error));
|
||||
g_propagate_error (error, util::move_nullify (local_error));
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user