summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2018-07-29 18:18:22 +0200
committerNiels De Graef <nielsdegraef@gmail.com>2018-07-29 18:18:22 +0200
commit190ebb74bdc6e3c849bf24356b665a7c6ea75ed1 (patch)
treecac8cf9a6591ccbd81d22a8e321b911fbe3d1844
parenta25964e1828192302579545c339412ad8db46ef9 (diff)
downloadgnome-contacts-190ebb74bdc6e3c849bf24356b665a7c6ea75ed1.tar.gz
TypeSet: fields should be private.
Also, mark `type_set`-field as unowned.
-rw-r--r--src/contacts-types.vala12
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 ();