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

@ -1,3 +1,9 @@
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".
Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c

View File

@ -1,3 +1,9 @@
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".
Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c

View File

@ -1,3 +1,9 @@
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".
Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c

View File

@ -1,3 +1,9 @@
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".
Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c

View File

@ -1,3 +1,9 @@
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".
Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c

View File

@ -1,3 +1,9 @@
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".
Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c

View File

@ -1,3 +1,9 @@
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".
Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c

View File

@ -1,3 +1,9 @@
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".
Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
* glib/gunicode.h glib/gunidecomp.c glib/guniprop.c

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);

View File

@ -144,7 +144,7 @@ int main (int argc, char **argv)
if (argc == 3)
line_to_do = atoi(argv[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);