Reflect latest g_io_channel_new_file() API changes, use

2001-07-08  Martin Baulig  <baulig@suse.de>

	* tests/unicode-normalize.c, tests/unicode-collate.c:
	Reflect latest g_io_channel_new_file() API changes, use
	G_IO_FILE_MODE_READ instead of "r".
This commit is contained in:
Martin Baulig
2001-07-08 13:01:19 +00:00
committed by Martin Baulig
parent f1f680b68c
commit 39caf76a7f
10 changed files with 50 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ int main (int argc, char **argv)
if (argc == 2)
{
in = g_io_channel_new_file (argv[1], "r", &error);
in = g_io_channel_new_file (argv[1], G_IO_FILE_MODE_READ, &error);
if (!in)
{
fprintf (stderr, "Cannot open %s: %s\n", argv[1], error->message);