[gnome-software: 2/6] flatpak: Avoid g_printerr()
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 2/6] flatpak: Avoid g_printerr()
- Date: Thu, 3 Dec 2020 14:35:51 +0000 (UTC)
commit f89a2910576e843ab2b86f001050df92026f3e0d
Author: Phaedrus Leeds <mwleeds endlessos org>
Date: Wed Nov 25 15:47:29 2020 -0800
flatpak: Avoid g_printerr()
Using g_message() allows the log message to be formatted and redirected
appropriately.
plugins/flatpak/gs-flatpak-transaction.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/flatpak/gs-flatpak-transaction.c b/plugins/flatpak/gs-flatpak-transaction.c
index 928a0863..d35ec5d1 100644
--- a/plugins/flatpak/gs-flatpak-transaction.c
+++ b/plugins/flatpak/gs-flatpak-transaction.c
@@ -703,9 +703,9 @@ _transaction_end_of_lifed (FlatpakTransaction *transaction,
const gchar *rebase)
{
if (rebase) {
- g_printerr ("%s is end-of-life, in favor of %s\n", ref, rebase);
+ g_message ("%s is end-of-life, in favor of %s", ref, rebase);
} else if (reason) {
- g_printerr ("%s is end-of-life, with reason: %s\n", ref, reason);
+ g_message ("%s is end-of-life, with reason: %s", ref, reason);
}
//FIXME: show something in the UI
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]