about summary refs log tree commit diff stats
path: root/src/xmpp/avatar.h
diff options
context:
space:
mode:
authorMarcoPolo-PasTonMolo <marcopolopastonmolo@protonmail.com>2022-05-26 21:06:27 +0300
committerMarcoPolo-PasTonMolo <marcopolopastonmolo@protonmail.com>2022-05-26 21:06:27 +0300
commit0cff111249ae60f7b9b6662fc7beaed1b5ec8dde (patch)
tree0822004fdb20bf6f0badf20ffc1c423ec2cb3f38 /src/xmpp/avatar.h
parent6a44e188537ee2d70226ad9dba4ae89c15437e2b (diff)
downloadprofani-tty-0cff111249ae60f7b9b6662fc7beaed1b5ec8dde.tar.gz
Add checks for whether gdk-pixbuf exists before using avatar set
Diffstat (limited to 'src/xmpp/avatar.h')
-rw-r--r--src/xmpp/avatar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xmpp/avatar.h b/src/xmpp/avatar.h
index 1767a2b2..c65328ad 100644
--- a/src/xmpp/avatar.h
+++ b/src/xmpp/avatar.h
@@ -40,6 +40,8 @@
 
 void avatar_pep_subscribe(void);
 gboolean avatar_get_by_nick(const char* nick, gboolean open);
+#ifdef HAVE_PIXBUF
 gboolean avatar_set(const char* path);
+#endif
 
 #endif
143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196