[folks] Check whether the Persona instance is IMable, not the class.



commit 3f860968a15d778a788b61f9a2d9d4b72dd6fe52
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Wed Aug 18 12:15:45 2010 -0700

    Check whether the Persona instance is IMable, not the class.

 folks/individual-aggregator.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/folks/individual-aggregator.vala b/folks/individual-aggregator.vala
index f431874..a33aa33 100644
--- a/folks/individual-aggregator.vala
+++ b/folks/individual-aggregator.vala
@@ -627,7 +627,7 @@ public class Folks.IndividualAggregator : Object
         {
           unowned Persona persona = (Persona) p;
 
-          if (!(Persona is IMable))
+          if (!(persona is IMable))
             return;
 
           ((IMable) persona).im_addresses.foreach ((k, v) =>



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