[gnome-contacts] Fix use of deprecated libgee API



commit 3c65c778e0d4a34e4b5fcfb3e1b87649e4b4df92
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sun Aug 4 09:59:54 2013 +0200

    Fix use of deprecated libgee API

 src/contacts-contact-editor.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/contacts-contact-editor.vala b/src/contacts-contact-editor.vala
index 468dbf6..71fd669 100644
--- a/src/contacts-contact-editor.vala
+++ b/src/contacts-contact-editor.vala
@@ -728,7 +728,7 @@ public class Contacts.ContactEditor : Grid {
 
     foreach (var entry in writable_personas.entries) {
       foreach (var field_entry in entry.value.entries) {
-       if (field_entry.value.changed && ! (field_entry.key in props_set)) {
+       if (field_entry.value.changed && !props_set.has_key (field_entry.key)) {
          PropertyData p = PropertyData ();
          p.persona = entry.key;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]