Mercurial > pidgin
changeset 29818:fd354d0bfbc0
The GDK pixbuf option "quality" is unknown when saving to PNG.
Use "compression". Maybe we should decrease the thumbnail size when doing PNG
to keep down in-band transfer size...
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Sun, 28 Feb 2010 22:56:50 +0000 |
parents | b680a9f2b641 |
children | 10bf97a36be0 |
files | pidgin/gtkft.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkft.c Sun Feb 28 05:35:20 2010 +0000 +++ b/pidgin/gtkft.c Sun Feb 28 22:56:50 2010 +0000 @@ -1173,8 +1173,8 @@ if (thumbnail) { gchar *buffer = NULL; gsize size; - char *option_keys[2] = {"quality", NULL}; - char *option_values[2] = {"75", NULL}; + char *option_keys[2] = {"compression", NULL}; + char *option_values[2] = {"9", NULL}; gdk_pixbuf_save_to_bufferv(thumbnail, &buffer, &size, "png", option_keys, option_values, NULL);