[libmanette] mapping-manager: Use more appropriate printing for non-programmer errors
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libmanette] mapping-manager: Use more appropriate printing for non-programmer errors
- Date: Mon, 23 Nov 2020 15:28:17 +0000 (UTC)
commit af85820fa6107d3fbff9c6f7681210ca2606c43e
Author: vanadiae <vanadiae35 gmail com>
Date: Sun Oct 18 15:36:17 2020 +0200
mapping-manager: Use more appropriate printing for non-programmer errors
Those were used when the mapping string is wrong (i.e. user mapping
string), so it's not a programmer error (as that's what g_critical() is
made for).
src/manette-mapping.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/manette-mapping.c b/src/manette-mapping.c
index ed4b1a3..8369e5b 100644
--- a/src/manette-mapping.c
+++ b/src/manette-mapping.c
@@ -477,7 +477,7 @@ set_from_mapping_string (ManetteMapping *self,
continue;
if (!parse_mapping_destination (destination_string, &binding)) {
- g_critical ("Invalid binding destination: %s:%s in %s", destination_string, source_string,
mapping_string);
+ g_debug ("Invalid binding destination: %s:%s in %s", destination_string, source_string,
mapping_string);
continue;
}
@@ -489,7 +489,7 @@ set_from_mapping_string (ManetteMapping *self,
}
if (!parse_mapping_source (source_string, &binding)) {
- g_critical ("Invalid binding source: %s:%s in %s", destination_string, source_string, mapping_string);
+ g_debug ("Invalid binding source: %s:%s in %s", destination_string, source_string, mapping_string);
continue;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]