Mercurial > pidgin
diff libpurple/ft.h @ 29823:79bb2804a19e
Set desired image formats for thumbnails as a parameter to
purple_xfer_prepare_thumbnail instead of putting it in PrplInfo
| author | Marcus Lundblad <ml@update.uu.se> |
|---|---|
| date | Tue, 16 Mar 2010 23:14:54 +0000 |
| parents | 25a53c299713 |
| children | 6671b5e92c28 |
line wrap: on
line diff
--- a/libpurple/ft.h Mon Mar 15 21:49:02 2010 +0000 +++ b/libpurple/ft.h Tue Mar 16 23:14:54 2010 +0000 @@ -125,7 +125,7 @@ * * @param xfer The file transfer structure */ - void (*add_thumbnail)(PurpleXfer *xfer); + void (*add_thumbnail)(PurpleXfer *xfer, const gchar *formats); } PurpleXferUiOps; /** @@ -737,8 +737,10 @@ * will be no-op in case the UI doesn't implement thumbnail creation * * @param xfer The file transfer to create a thumbnail for + * @param formats A comma-separated list of mimetypes for image formats + * the protocols can use for thumbnails. */ -void purple_xfer_prepare_thumbnail(PurpleXfer *xfer); +void purple_xfer_prepare_thumbnail(PurpleXfer *xfer, const gchar *formats); /*@}*/
