summaryrefslogtreecommitdiff
path: root/src/contacts-list-pane.vala
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2018-04-02 13:24:53 +0200
committerNiels De Graef <nielsdegraef@gmail.com>2018-04-02 15:07:56 +0200
commitd00865bc2c4ce4508fc3cdc0226be542b17f1788 (patch)
tree6f8e609beb08849019984b6ba6fdf1d0d42ea179 /src/contacts-list-pane.vala
parentdb84afdd50bc8d45a0dcf7114881a9a23819445f (diff)
downloadgnome-contacts-d00865bc2c4ce4508fc3cdc0226be542b17f1788.tar.gz
Contact: make hidden a property & cleanup the code.
Diffstat (limited to 'src/contacts-list-pane.vala')
-rw-r--r--src/contacts-list-pane.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contacts-list-pane.vala b/src/contacts-list-pane.vala
index 9f4d3f1..3aaf3d6 100644
--- a/src/contacts-list-pane.vala
+++ b/src/contacts-list-pane.vala
@@ -102,7 +102,7 @@ public class Contacts.ListPane : Frame {
private void on_delete_button_clicked (Gtk.Button delete_button) {
var marked_contacts = this.contacts_list.get_marked_contacts ();
foreach (var c in marked_contacts)
- c.hide ();
+ c.hidden = true;
delete_contacts (marked_contacts);
}