mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-22 18:56:20 +00:00
Add checks for whether gdk-pixbuf exists before using avatar set
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user