[gnome-contacts] typeset: Don't complain about a missing TYPE
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] typeset: Don't complain about a missing TYPE
- Date: Fri, 14 Jan 2022 08:45:28 +0000 (UTC)
commit 7fcaade07cba79477dd32e2e5766f0c75ee78746
Author: Niels De Graef <nielsdegraef gmail com>
Date: Fri Jan 14 09:44:16 2022 +0100
typeset: Don't complain about a missing TYPE
It's not nice, but it can happen that a contact doesn't specify a type
for a certain property. Let's not spam the console with warning messages
for that.
src/contacts-typeset.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/contacts-typeset.vala b/src/contacts-typeset.vala
index 0149b685..733de790 100644
--- a/src/contacts-typeset.vala
+++ b/src/contacts-typeset.vala
@@ -154,7 +154,7 @@ public class Contacts.TypeSet : Object, GLib.ListModel {
var types = detail.get_parameter_values ("type");
if (types == null || types.is_empty) {
- warning ("No types given in the AbstractFieldDetails");
+ debug ("No types given in the AbstractFieldDetails");
return this.other_dummy;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]