# HG changeset patch # User Mark Doliner # Date 1091926358 0 # Node ID 4d2eba0e14eee331814080ce693a54963c767a85 # Parent 4d05b6e9e9cdb02d9aebad2cd9a4b35d8ce8dbed [gaim-migrate @ 10571] Revert nosnilmot's only-cache-your-own-buddy-icon-if-supported change committer: Tailor Script diff -r 4d05b6e9e9cd -r 4d2eba0e14ee src/gtkaccount.c --- a/src/gtkaccount.c Sun Aug 08 00:48:19 2004 +0000 +++ b/src/gtkaccount.c Sun Aug 08 00:52:38 2004 +0000 @@ -588,9 +588,8 @@ gaim_debug_info("buddyicon", "Converting buddy icon to %s as %s\n", prpl_formats[i], filename); /* The gdk-pixbuf documentation is wrong. gdk_pixbuf_save returns TRUE if it was successful, * FALSE if an error was set. */ - if (gdk_pixbuf_format_is_writable(format) && - gdk_pixbuf_save(pixbuf, filename, prpl_formats[i], &error, NULL) == TRUE) - break; + if (gdk_pixbuf_save (pixbuf, filename, prpl_formats[i], &error, NULL) == TRUE) + break; } if (!error) { g_free(random);