gio/tests/file: use g_file_new_tmp()
authorDan Winship <danw@gnome.org>
Fri, 3 Feb 2012 16:29:46 +0000 (11:29 -0500)
committerDan Winship <danw@gnome.org>
Fri, 3 Feb 2012 18:01:19 +0000 (13:01 -0500)
commitf43565c822697504e32d2d329f4ea1c6c073d514
tree185f7bb0f579091d603dcba41df2102853ff8be5
parentcc4c1e89f439244fd0af0afd45ca40015cea4634
gio/tests/file: use g_file_new_tmp()

Rather than misusing g_file_open_tmp(), misuse g_file_new_tmp()
instead. Progress! (Also, gets rid of a compile warning about close()
on win32.)
gio/tests/file.c