Mercurial > pidgin.yaz
changeset 16614:db39246fdf6d
Use the purple_imgstore_get_extension() convienence function.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 29 Apr 2007 00:59:00 +0000 |
parents | 96b7bc5569aa |
children | e9c412816e4e |
files | libpurple/protocols/silc/buddy.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/silc/buddy.c Sun Apr 29 00:14:26 2007 +0000 +++ b/libpurple/protocols/silc/buddy.c Sun Apr 29 00:59:00 2007 +0000 @@ -1706,7 +1706,7 @@ if (!mime) return; - t = purple_util_get_image_extension(purple_imgstore_get_data(img), purple_imgstore_get_size(img)); + t = purple_imgstore_get_extension(img); if (!t || !strcmp(t, "icon")) { silc_mime_free(mime); return;