[gnome-contacts] Fix implicit shadowing of a parent class ’ method in ContactsContactEditor
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Fix implicit shadowing of a parent class ’ method in ContactsContactEditor
- Date: Sun, 4 Aug 2013 08:15:24 +0000 (UTC)
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]