diff options
author | Niels De Graef <nielsdegraef@gmail.com> | 2018-07-29 18:18:22 +0200 |
---|---|---|
committer | Niels De Graef <nielsdegraef@gmail.com> | 2018-07-29 18:18:22 +0200 |
commit | 190ebb74bdc6e3c849bf24356b665a7c6ea75ed1 (patch) | |
tree | cac8cf9a6591ccbd81d22a8e321b911fbe3d1844 | |
parent | a25964e1828192302579545c339412ad8db46ef9 (diff) | |
download | gnome-contacts-190ebb74bdc6e3c849bf24356b665a7c6ea75ed1.tar.gz |
TypeSet: fields should be private.
Also, mark `type_set`-field as unowned.
-rw-r--r-- | src/contacts-types.vala | 12 |
1 files 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 (); |