Add checks for whether gdk-pixbuf exists before using avatar set

This commit is contained in:
MarcoPolo-PasTonMolo
2022-05-26 21:06:27 +03:00
parent 6a44e18853
commit 0cff111249
6 changed files with 31 additions and 3 deletions

View File

@@ -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