about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/xmpp/stub_avatar.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/unittests/xmpp/stub_avatar.c b/tests/unittests/xmpp/stub_avatar.c
index 453d1863..9f07c334 100644
--- a/tests/unittests/xmpp/stub_avatar.c
+++ b/tests/unittests/xmpp/stub_avatar.c
@@ -8,8 +8,11 @@ avatar_get_by_nick(const char* nick)
 {
     return TRUE;
 }
+
+#ifdef HAVE_PIXBUF
 gboolean
 avatar_set(const char* path)
 {
-    return FALSE;
+    return TRUE;
 }
+#endif