[gnome-contacts] build: remove unused function argument



commit 12d772dc8f9197a533353caecc5268b192c4de32
Author: Erick Pérez Castellanos <erick red gmail com>
Date:   Fri Apr 4 14:04:33 2014 -0400

    build: remove unused function argument

 src/contacts-app.vala          |    2 +-
 src/contacts-contact-pane.vala |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/contacts-app.vala b/src/contacts-app.vala
index f2b2e30..9c0e816 100644
--- a/src/contacts-app.vala
+++ b/src/contacts-app.vala
@@ -71,7 +71,7 @@ public class Contacts.App : Gtk.Application {
       window.done_button.hide ();
     }
 
-    contacts_pane.show_contact (new_selection, false, false);
+    contacts_pane.show_contact (new_selection, false);
 
     /* clearing right_toolbar */
     if (new_selection != null) {
diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
index d7e6649..1455207 100644
--- a/src/contacts-contact-pane.vala
+++ b/src/contacts-contact-pane.vala
@@ -225,7 +225,7 @@ public class Contacts.ContactPane : Notebook {
     suggestion_grid.show_all ();
   }
 
-  public void show_contact (Contact? new_contact, bool edit = false, bool show_matches = true) {
+  public void show_contact (Contact? new_contact, bool show_matches = true) {
     if (contact == new_contact)
       return;
 


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