Mercurial > pidgin.yaz
diff src/buddyicon.h @ 11303:10066662176a
[gaim-migrate @ 13503]
For accounts, store only the basename of a buddy icon cache file. Everyone please make sure buddy icons still work for you.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 18 Aug 2005 20:49:58 +0000 |
parents | 096020ae09a9 |
children | fc464a0abccc |
line wrap: on
line diff
--- a/src/buddyicon.h Thu Aug 18 20:05:20 2005 +0000 +++ b/src/buddyicon.h Thu Aug 18 20:49:58 2005 +0000 @@ -239,6 +239,18 @@ const char *gaim_buddy_icons_get_cache_dir(void); /** + * Takes a buddy icon and returns a full path. + * + * If @a icon is a full path to an existing file, a copy of + * @a icon is returned. Otherwise, a newly allocated string + * consiting of gaim_buddy_icons_get_cache_dir() + @a icon is + * returned. + * + * @return The full path for an icon. + */ +char *gaim_buddy_icons_get_full_path(const char *icon); + +/** * Returns the buddy icon subsystem handle. * * @return The subsystem handle.