changeset 9710:4d2eba0e14ee

[gaim-migrate @ 10571] Revert nosnilmot's only-cache-your-own-buddy-icon-if-supported change committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 08 Aug 2004 00:52:38 +0000
parents 4d05b6e9e9cd
children b0ddfeccb9e6
files src/gtkaccount.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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);