Use the existing Tpf.PersonaError instead of the unbound TelepathyGLib.Error.
authorTravis Reitter <travis.reitter@collabora.co.uk>
Thu, 8 Jul 2010 21:54:35 +0000 (14:54 -0700)
committerTravis Reitter <travis.reitter@collabora.co.uk>
Thu, 8 Jul 2010 23:31:28 +0000 (16:31 -0700)
backends/telepathy/tpf-persona-store.vala

index 2cd3ade..b6b1cb2 100644 (file)
@@ -853,7 +853,7 @@ public class Tpf.PersonaStore : Folks.PersonaStore
                   if (persona != null)
                     personas.prepend (persona);
                 }
-              catch (TelepathyGLib.Error e)
+              catch (Tpf.PersonaError e)
                 {
                   if (err_count == 0)
                     err_format = "failed to create %u personas:\n";
@@ -880,7 +880,7 @@ public class Tpf.PersonaStore : Folks.PersonaStore
     }
 
   private Tpf.Persona? add_persona_from_contact (Contact contact)
-      throws TelepathyGLib.Error
+      throws Tpf.PersonaError
     {
       var h = contact.get_handle ();
       if (this.handle_persona_map[h] == null)