model-aggregator test app filters on avatar presence
authorLaurent Contzen <lcontzen@gmail.com>
Fri, 10 Aug 2012 13:51:47 +0000 (15:51 +0200)
committerLaurent Contzen <lcontzen@gmail.com>
Fri, 10 Aug 2012 13:51:47 +0000 (15:51 +0200)
tests/interactive/test-empathy-roster-model-aggregator.c

index 9d2467e..49f2012 100644 (file)
@@ -84,6 +84,10 @@ filter (EmpathyRosterModel *model,
     FolksIndividual *individual,
     gpointer user_data)
 {
     FolksIndividual *individual,
     gpointer user_data)
 {
+  if (folks_avatar_details_get_avatar (FOLKS_AVATAR_DETAILS (individual))
+      == NULL)
+    return FALSE;
+
   return TRUE;
 }
 
   return TRUE;
 }