diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-03-25 20:56:54 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-03-25 20:56:54 +0000 |
commit | 233b328c26ea0ed3bccc9e93358549808531886a (patch) | |
tree | 1ab736c2fce135f7553f7cb3b2fd2e66e73f875a /pango/modules.c | |
parent | b7418a446d73d7c9b504dcc06f647eb8931014c7 (diff) | |
download | pango-233b328c26ea0ed3bccc9e93358549808531886a.tar.gz |
Remove warning about opening modules file... in some cases (included
Mon Mar 25 15:53:17 2002 Owen Taylor <otaylor@redhat.com>
* pango/modules.c (read_modules): Remove warning about
opening modules file... in some cases (included modules)
it isn't needed, and the warning about no modules that
was added recently should let people know what is going
on. (#73834, Arnaud Charlet)
Diffstat (limited to 'pango/modules.c')
-rw-r--r-- | pango/modules.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pango/modules.c b/pango/modules.c index c261df8a..32ae2533 100644 --- a/pango/modules.c +++ b/pango/modules.c @@ -366,9 +366,7 @@ read_modules (void) while (n-- > 0) { module_file = fopen (files[n], "r"); - if (!module_file) - g_warning ("Error opening module file '%s': %s\n", files[n], g_strerror (errno)); - else + if (module_file) { process_module_file(module_file); fclose(module_file); |