From 190ebb74bdc6e3c849bf24356b665a7c6ea75ed1 Mon Sep 17 00:00:00 2001 From: Niels De Graef Date: Sun, 29 Jul 2018 18:18:22 +0200 Subject: TypeSet: fields should be private. Also, mark `type_set`-field as unowned. --- src/contacts-types.vala | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/contacts-types.vala b/src/contacts-types.vala index 2a4058a..b90b91a 100644 --- a/src/contacts-types.vala +++ b/src/contacts-types.vala @@ -363,12 +363,12 @@ public class Contacts.TypeSet : Object { } public class Contacts.TypeCombo : Grid { - TypeSet type_set; - ComboBox combo; - Entry entry; - TreeIter last_active; - bool custom_mode; - bool in_manual_change; + private unowned TypeSet type_set; + private ComboBox combo; + private Entry entry; + private TreeIter last_active; + private bool custom_mode; + private bool in_manual_change; public bool modified; public signal void changed (); -- cgit v1.2.1