[gnome-contacts] TypeSet: fields should be private.



commit 190ebb74bdc6e3c849bf24356b665a7c6ea75ed1
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Sun Jul 29 18:18:22 2018 +0200

    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 ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]