# HG changeset patch # User Marcus Lundblad # Date 1267397810 0 # Node ID fd354d0bfbc06a1951f8a98894737720cdc51ce1 # Parent b680a9f2b6410aed22796cecfc103330875fda57 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... diff -r b680a9f2b641 -r fd354d0bfbc0 pidgin/gtkft.c --- 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);