diff options
author | Christian Persch <[email protected]> | 2012-06-14 00:00:02 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-03-21 06:56:34 +0100 |
commit | cfbab0ad8e12730462bdefdd389cadb43f4c0f0a (patch) | |
tree | c56e2dd18cd496d47d3b8d54d13be2d76d71ef11 /thumbnailer | |
parent | 2f89fccf54a858495101cd57bac66ffca657ff62 (diff) | |
download | atril-cfbab0ad8e12730462bdefdd389cadb43f4c0f0a.tar.bz2 atril-cfbab0ad8e12730462bdefdd389cadb43f4c0f0a.tar.xz |
thumbnailer: Send error messages to stderr
Use g_printerr, not g_print.
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=3b59d64
Diffstat (limited to 'thumbnailer')
-rw-r--r-- | thumbnailer/atril-thumbnailer.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/thumbnailer/atril-thumbnailer.c b/thumbnailer/atril-thumbnailer.c index bc62502d..6e189040 100644 --- a/thumbnailer/atril-thumbnailer.c +++ b/thumbnailer/atril-thumbnailer.c @@ -62,10 +62,10 @@ time_monitor (gpointer data) app_name = g_get_application_name (); if (app_name == NULL) app_name = g_get_prgname (); - g_print ("%s couldn't process file: '%s'\n" - "Reason: Took too much time to process.\n", - app_name, - (const char *) data); + g_printerr ("%s couldn't process file: '%s'\n" + "Reason: Took too much time to process.\n", + app_name, + (const char *) data); exit (0); } @@ -271,7 +271,7 @@ main (int argc, char *argv[]) g_option_context_free (context); if (size < 1) { - g_print ("Size cannot be smaller than 1 pixel\n"); + g_printerr ("Size cannot be smaller than 1 pixel\n"); return -1; } |