[gnome-contacts] Fix implicit shadowing of a parent class ’ method in ContactsContactEditor



commit 315cc421837174670f75e26d4e020b3bc3d20840
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sun Aug 4 09:59:05 2013 +0200

    Fix implicit shadowing of a parent class’ method in ContactsContactEditor
    
    Explicitly shadow it using the ‘new’ keyword instead. This eliminates a
    compiler warning.

 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 fcac6e4..468dbf6 100644
--- a/src/contacts-contact-editor.vala
+++ b/src/contacts-contact-editor.vala
@@ -208,7 +208,7 @@ public class Contacts.ContactEditor : Grid {
     }
   }
 
-  void remove_row (int row) {
+  new void remove_row (int row) {
     foreach (var fields in writable_personas.values) {
       foreach (var field_entry in fields.entries) {
        foreach (var idx in field_entry.value.rows.keys) {


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