[empathy: 11/12] model-aggregator test app filters on avatar presence
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 11/12] model-aggregator test app filters on avatar presence
- Date: Fri, 10 Aug 2012 15:24:58 +0000 (UTC)
commit 91186e9bfcc4dc46d329f18ff0533a6bfff97a65
Author: Laurent Contzen <lcontzen gmail com>
Date: Fri Aug 10 15:51:47 2012 +0200
model-aggregator test app filters on avatar presence
.../test-empathy-roster-model-aggregator.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tests/interactive/test-empathy-roster-model-aggregator.c b/tests/interactive/test-empathy-roster-model-aggregator.c
index 9d2467e..49f2012 100644
--- a/tests/interactive/test-empathy-roster-model-aggregator.c
+++ b/tests/interactive/test-empathy-roster-model-aggregator.c
@@ -84,6 +84,10 @@ filter (EmpathyRosterModel *model,
FolksIndividual *individual,
gpointer user_data)
{
+ if (folks_avatar_details_get_avatar (FOLKS_AVATAR_DETAILS (individual))
+ == NULL)
+ return FALSE;
+
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]