[balsa] Use g_print() instead of g_printerr()
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa] Use g_print() instead of g_printerr()
- Date: Wed, 26 Feb 2020 15:19:35 +0000 (UTC)
commit f07af4eb7224117ac98fd03804d01c5184776e5d
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Wed Feb 26 10:18:53 2020 -0500
Use g_print() instead of g_printerr()
to print network status.
Fixes https://gitlab.gnome.org/GNOME/balsa/issues/29.
* src/main-window.c (print_network_status):
ChangeLog | 9 +++++++++
src/main-window.c | 6 +++---
2 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 7a50bdd8e..ec8a8e4f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2020-02-26 Peter Bloomfield <pbloomfield bellsouth net>
+
+ Use g_print() instead of g_printerr()
+
+ to print network status.
+ Fixes https://gitlab.gnome.org/GNOME/balsa/issues/29.
+
+ * src/main-window.c (print_network_status):
+
2020-02-24 Peter Bloomfield <pbloomfield bellsouth net>
main: Save the config files
diff --git a/src/main-window.c b/src/main-window.c
index d489580d2..dac8cf08e 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -271,9 +271,9 @@ print_network_status(gboolean available)
datetime_string = g_date_time_format(datetime, "%c");
g_date_time_unref(datetime);
- g_printerr("Network is %s (%s)\n",
- available ? "available " : "unavailable",
- datetime_string);
+ g_print("Network is %s (%s)\n",
+ available ? "available " : "unavailable",
+ datetime_string);
g_free(datetime_string);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]