[gnome-contacts] misc: API change to maintain readability



commit 4656997056aeee17e2f6da21728433293b5a0656
Author: Erick Pérez Castellanos <erick red gmail com>
Date:   Sun Aug 10 13:43:54 2014 -0400

    misc: API change to maintain readability

 src/contacts-contact-editor.vala |    2 +-
 src/contacts-contact-pane.vala   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/contacts-contact-editor.vala b/src/contacts-contact-editor.vala
index 225b625..404ef43 100644
--- a/src/contacts-contact-editor.vala
+++ b/src/contacts-contact-editor.vala
@@ -787,7 +787,7 @@ public class Contacts.ContactEditor : Grid {
     container_grid.size_allocate.connect_after (size_allocate_cb);
   }
 
-  public void update (Contact c) {
+  public void edit (Contact c) {
     contact = c;
 
     remove_button.show ();
diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
index 1e94182..c03f030 100644
--- a/src/contacts-contact-pane.vala
+++ b/src/contacts-contact-pane.vala
@@ -354,7 +354,7 @@ public class Contacts.ContactPane : Notebook {
       }
 
       editor.clear ();
-      editor.update (contact);
+      editor.edit (contact);
       editor.show_all ();
       set_current_page (2);
     } else {


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