glib/tests/keyfile.c: Use g_close()
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 6 Jan 2014 02:05:48 +0000 (10:05 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 7 Jan 2014 05:36:31 +0000 (13:36 +0800)
commit6bd30a4cb90c406edfd141016e08b36804b98103
tree735c2710ff559c95b335a657e68e7b5b3886c459
parent8bb81e7024db1f3e88cde20459ed62981cf372af
glib/tests/keyfile.c: Use g_close()

Use g_close() instead, as close() is really found in io.h on Windows, not
unistd.h as on Unix, and hence unistd.h is not universally available.

https://bugzilla.gnome.org/show_bug.cgi?id=719344
glib/tests/keyfile.c