[folks] Don't try to (invalidly) import an enum.



commit 8462e54be3db0aad65336c55dc30f8efa9149a5c
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Thu Nov 4 14:53:07 2010 -0700

    Don't try to (invalidly) import an enum.

 backends/telepathy/lib/tpf-persona-store.vala |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/backends/telepathy/lib/tpf-persona-store.vala b/backends/telepathy/lib/tpf-persona-store.vala
index e6111b7..5e822c4 100644
--- a/backends/telepathy/lib/tpf-persona-store.vala
+++ b/backends/telepathy/lib/tpf-persona-store.vala
@@ -22,7 +22,6 @@
 using GLib;
 using Gee;
 using TelepathyGLib;
-using TelepathyGLib.ContactFeature;
 using Folks;
 
 /**
@@ -46,12 +45,12 @@ public class Tpf.PersonaStore : Folks.PersonaStore
   private string[] undisplayed_groups = { "publish", "stored", "subscribe" };
   private static ContactFeature[] contact_features =
       {
-        ALIAS,
-        AVATAR_DATA,
-        AVATAR_TOKEN,
-        CAPABILITIES,
-        CLIENT_TYPES,
-        PRESENCE
+        ContactFeature.ALIAS,
+        ContactFeature.AVATAR_DATA,
+        ContactFeature.AVATAR_TOKEN,
+        ContactFeature.CAPABILITIES,
+        ContactFeature.CLIENT_TYPES,
+        ContactFeature.PRESENCE
       };
 
   private HashTable<string, Persona> _personas;



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