Improve use of GError and writing to the LUC
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Thu, 19 Jul 2012 15:24:08 +0000 (16:24 +0100)
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Thu, 19 Jul 2012 16:01:21 +0000 (17:01 +0100)
commit309e4d73348d5d7bd1e99102fe7bc3214ea06777
tree9da96517b5fef59b281538d38c80369849ee25fc
parent140dae984b5f627a6105d9c879b1b734682a90d5
Improve use of GError and writing to the LUC

Make use of convenience functions for clearing and propagating GErrors.
Drop g_file_create() because g_file_replace_contents() handles the
on-demand file creation for us.
boot-manager/boot-manager-service.c
tests/boot-manager/gvariant_writer.c