Mercurial > pidgin.yaz
comparison src/gtkaccount.c @ 9591:bc910eb2679f
[gaim-migrate @ 10434]
(20:47:36) nosnilmot: a) because someone reported a bug somewhere, I'll find the number later,
b) because gdk-pixbuf should never have had such buggy documentation
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sun, 25 Jul 2004 00:47:10 +0000 |
parents | a79e03ef63f6 |
children | 93211b7538d6 |
comparison
equal
deleted
inserted
replaced
9590:a7b3a1ece65e | 9591:bc910eb2679f |
---|---|
581 g_error_free(error); | 581 g_error_free(error); |
582 return NULL; | 582 return NULL; |
583 } | 583 } |
584 for (i = 0; prpl_formats[i]; i++) { | 584 for (i = 0; prpl_formats[i]; i++) { |
585 gaim_debug_info("buddyicon", "Converting buddy icon to %s as %s\n", prpl_formats[i], filename); | 585 gaim_debug_info("buddyicon", "Converting buddy icon to %s as %s\n", prpl_formats[i], filename); |
586 if (gdk_pixbuf_save (pixbuf, filename, prpl_formats[i], &error, NULL) == FALSE) | 586 /* The gdk-pixbuf documentation is wrong. gdk_pixbuf_save returns TRUE if it was successful, |
587 * FALSE if an error was set. */ | |
588 if (gdk_pixbuf_save (pixbuf, filename, prpl_formats[i], &error, NULL) == TRUE) | |
587 break; | 589 break; |
588 } | 590 } |
589 if (!error) { | 591 if (!error) { |
590 g_free(random); | 592 g_free(random); |
591 g_object_unref(G_OBJECT(pixbuf)); | 593 g_object_unref(G_OBJECT(pixbuf)); |