diff options
author | Martin Baulig <baulig@suse.de> | 2001-07-08 13:01:19 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 2001-07-08 13:01:19 +0000 |
commit | 39caf76a7f7313f60eecdf31741f9edd48327be1 (patch) | |
tree | dcb4c845259a7f0f42a9e3e20793b63987bf801a /tests/unicode-collate.c | |
parent | f1f680b68c946a2d2f6af3c942ce1b4c034f1702 (diff) |
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".
Diffstat (limited to 'tests/unicode-collate.c')
-rw-r--r-- | tests/unicode-collate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unicode-collate.c b/tests/unicode-collate.c index 0ed2735de..5475c89b8 100644 --- a/tests/unicode-collate.c +++ b/tests/unicode-collate.c @@ -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); |