Use g_file_open_tmp() instead of hand-rolling it
commit72402877cc2ae09576bfc21c9766b8ea5c78d9aa
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 14 Mar 2018 10:30:13 +0000 (14 10:30 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 14 Mar 2018 11:48:13 +0000 (14 11:48 +0000)
tree1c4734d80ffb519942e07f13bf14645a99ca6707
parent7fd17c4337249acef9bc61eedaf956ee86ade02e
Use g_file_open_tmp() instead of hand-rolling it

The glib-compile-resources tool has hand-rolled "open a temporary file"
code paths. Since error handling is hard, let's rely on GLib API that is
meant to do that consistently for us.

Get rid of some tabs mixed with spaces while we're at it.

https://bugzilla.gnome.org/show_bug.cgi?id=794284
gio/glib-compile-resources.c