summaryrefslogtreecommitdiff
path: root/gio/glib-compile-schemas.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-05-27 18:30:45 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-05-27 18:30:45 -0400
commit7d0eac03e9cd88b33f68a7a451992d1f222573a2 (patch)
tree76d04426459fdca3b1c396738137c9aaf8b4ea20 /gio/glib-compile-schemas.c
parentdfcac7b23e7cfbefc02f2d8772970340d7dd7fb5 (diff)
downloadglib-7d0eac03e9cd88b33f68a7a451992d1f222573a2.tar.gz
glib-compile-schemas: write informational messages to stdout
The fact that we return 0 here makes it clear that this is not considered an error, so it makes sense to not write these messages to stderr. Proposed by Antoine Jacoutot, https://bugzilla.gnome.org/show_bug.cgi?id=650882
Diffstat (limited to 'gio/glib-compile-schemas.c')
-rw-r--r--gio/glib-compile-schemas.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
index 7369c6711..0c8a58daf 100644
--- a/gio/glib-compile-schemas.c
+++ b/gio/glib-compile-schemas.c
@@ -2020,13 +2020,13 @@ main (int argc, char **argv)
if (files->len == 0)
{
- fprintf (stderr, _("No schema files found: "));
+ fprintf (stdout, _("No schema files found: "));
if (g_unlink (target))
- fprintf (stderr, _("doing nothing.\n"));
+ fprintf (stdout, _("doing nothing.\n"));
else
- fprintf (stderr, _("removed existing output file.\n"));
+ fprintf (stdout, _("removed existing output file.\n"));
return 0;
}