From: Matthias Clasen Date: Fri, 27 May 2011 22:30:45 +0000 (-0400) Subject: glib-compile-schemas: write informational messages to stdout X-Git-Tag: 2.29.6~83 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d0eac03e9cd88b33f68a7a451992d1f222573a2;p=platform%2Fupstream%2Fglib.git 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 --- diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c index 7369c67..0c8a58d 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; }