Mercurial > pidgin.yaz
comparison libpurple/ft.c @ 30238: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 |
comparison
equal
deleted
inserted
replaced
30237:25a53c299713 | 30238:79bb2804a19e |
---|---|
1647 xfer->thumbnail_mimetype = g_strdup(mimetype); | 1647 xfer->thumbnail_mimetype = g_strdup(mimetype); |
1648 } | 1648 } |
1649 } | 1649 } |
1650 | 1650 |
1651 void | 1651 void |
1652 purple_xfer_prepare_thumbnail(PurpleXfer *xfer) | 1652 purple_xfer_prepare_thumbnail(PurpleXfer *xfer, const gchar *formats) |
1653 { | 1653 { |
1654 if (xfer->ui_ops->add_thumbnail) { | 1654 if (xfer->ui_ops->add_thumbnail) { |
1655 xfer->ui_ops->add_thumbnail(xfer); | 1655 xfer->ui_ops->add_thumbnail(xfer, formats); |
1656 } | 1656 } |
1657 } | 1657 } |
1658 | 1658 |
1659 /************************************************************************** | 1659 /************************************************************************** |
1660 * File Transfer Subsystem API | 1660 * File Transfer Subsystem API |