Mercurial > pidgin.yaz
diff libpurple/protocols/msn/slplink.c @ 30250:afc9cec164e4
Rename purple_xfer_get_thumbnail_data/size to be more D-Bus friendly.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 25 Apr 2010 21:09:34 +0000 |
parents | 2ab17571bf42 |
children | cb9afb16cc3d 0b22c840f4f4 f8ec889c5bce |
line wrap: on
line diff
--- a/libpurple/protocols/msn/slplink.c Sun Apr 25 20:58:00 2010 +0000 +++ b/libpurple/protocols/msn/slplink.c Sun Apr 25 21:09:34 2010 +0000 @@ -720,11 +720,7 @@ u8 = NULL; } - preview = purple_xfer_get_thumbnail_data(xfer); - if (preview) - preview_len = purple_xfer_get_thumbnail_size(xfer); - else - preview_len = 0; + preview = purple_xfer_get_thumbnail(xfer, &preview_len); header = g_malloc(sizeof(MsnFileContext) + preview_len); header->length = GUINT32_TO_LE(sizeof(MsnFileContext) - 1);