Do not send debug data to terminal
authorColin Clark <colin.clark@cclark.uk>
Tue, 26 Sep 2017 17:42:37 +0000 (18:42 +0100)
committerColin Clark <colin.clark@cclark.uk>
Tue, 26 Sep 2017 17:42:37 +0000 (18:42 +0100)
When running Geeqie from the terminal, a user sees irrelevant messages
and when debugging the window gets clogged with unnecessary data.
The log window - or log file - contains all debug output anyway.

src/ui_fileops.c

index 99a8216..9ea618d 100644 (file)
@@ -57,7 +57,6 @@ void print_term(const gchar *text_utf8)
        gchar *text_l;
 
        text_l = g_locale_from_utf8(text_utf8, -1, NULL, NULL, NULL);
-       fputs((text_l) ? text_l : text_utf8, stderr);
        if(command_line && command_line->ssi)
                secure_fputs(command_line->ssi, (text_l) ? text_l : text_utf8);
        g_free(text_l);