Mercurial > pidgin
changeset 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 | a7b3a1ece65e |
children | 9c78aaa4117e |
files | src/gtkaccount.c src/gtkpounce.c |
diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkaccount.c Sun Jul 25 00:44:12 2004 +0000 +++ b/src/gtkaccount.c Sun Jul 25 00:47:10 2004 +0000 @@ -583,7 +583,9 @@ } for (i = 0; prpl_formats[i]; i++) { gaim_debug_info("buddyicon", "Converting buddy icon to %s as %s\n", prpl_formats[i], filename); - if (gdk_pixbuf_save (pixbuf, filename, prpl_formats[i], &error, NULL) == FALSE) + /* The gdk-pixbuf documentation is wrong. gdk_pixbuf_save returns TRUE if it was successful, + * FALSE if an error was set. */ + if (gdk_pixbuf_save (pixbuf, filename, prpl_formats[i], &error, NULL) == TRUE) break; } if (!error) {
--- a/src/gtkpounce.c Sun Jul 25 00:44:12 2004 +0000 +++ b/src/gtkpounce.c Sun Jul 25 00:47:10 2004 +0000 @@ -461,13 +461,13 @@ gtk_widget_show(table); dialog->signon = - gtk_check_button_new_with_mnemonic(_("_Sign on")); + gtk_check_button_new_with_mnemonic(_("Si_gn on")); dialog->signoff = gtk_check_button_new_with_mnemonic(_("Sign _off")); dialog->away = gtk_check_button_new_with_mnemonic(_("A_way")); dialog->away_return = - gtk_check_button_new_with_mnemonic(_("Re_turn from away")); + gtk_check_button_new_with_mnemonic(_("_Return from away")); dialog->idle = gtk_check_button_new_with_mnemonic(_("_Idle")); dialog->idle_return =