[gnome-contacts] Store: add more debug information.
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Store: add more debug information.
- Date: Sun, 11 Nov 2018 18:33:49 +0000 (UTC)
commit 776d037394c6a7f15763331451867ebc930b5851
Author: Niels De Graef <nielsdegraef gmail com>
Date: Sun Nov 11 19:33:03 2018 +0100
Store: add more debug information.
So we at least now how many contacts were added/removed.
src/contacts-store.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/contacts-store.vala b/src/contacts-store.vala
index 3b75a88..961edac 100644
--- a/src/contacts-store.vala
+++ b/src/contacts-store.vala
@@ -176,6 +176,8 @@ public class Contacts.Store : GLib.Object {
var replaced_individuals = new HashMap<Individual?, Individual?> ();
var old_individuals = changes.get_keys();
+ debug ("Individuals changed: %d old, %d new", old_individuals.size - 1, changes[null].size);
+
// Pick best replacements at joins
foreach (var old_individual in old_individuals) {
if (old_individual == null)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]