Mercurial > pidgin
comparison src/gtkconv.c @ 10589:0f7452b1f777
[gaim-migrate @ 11994]
Use GLib 2.6's gstdio functions. This should fix gaim not liking non-ascii filenames in win32.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 11 Feb 2005 05:10:40 +0000 |
parents | ed2b8b432525 |
children | 84fb7beabb5c |
comparison
equal
deleted
inserted
replaced
10588:529111933c9c | 10589:0f7452b1f777 |
---|---|
867 { | 867 { |
868 GaimConversation *conv = (GaimConversation *)user_data; | 868 GaimConversation *conv = (GaimConversation *)user_data; |
869 FILE *fp; | 869 FILE *fp; |
870 const char *name; | 870 const char *name; |
871 | 871 |
872 if ((fp = fopen(filename, "w+")) == NULL) { | 872 if ((fp = g_fopen(filename, "w+")) == NULL) { |
873 gaim_notify_error(conv, NULL, _("Unable to open file."), NULL); | 873 gaim_notify_error(conv, NULL, _("Unable to open file."), NULL); |
874 return; | 874 return; |
875 } | 875 } |
876 | 876 |
877 name = gaim_conversation_get_name(conv); | 877 name = gaim_conversation_get_name(conv); |
2518 FILE *fp; | 2518 FILE *fp; |
2519 GaimBuddyIcon *icon; | 2519 GaimBuddyIcon *icon; |
2520 const void *data; | 2520 const void *data; |
2521 size_t len; | 2521 size_t len; |
2522 | 2522 |
2523 if ((fp = fopen(filename, "wb")) == NULL) { | 2523 if ((fp = g_fopen(filename, "wb")) == NULL) { |
2524 gaim_notify_error(conv, NULL, _("Unable to open file."), NULL); | 2524 gaim_notify_error(conv, NULL, _("Unable to open file."), NULL); |
2525 return; | 2525 return; |
2526 } | 2526 } |
2527 | 2527 |
2528 icon = gaim_conv_im_get_icon(GAIM_CONV_IM(conv)); | 2528 icon = gaim_conv_im_get_icon(GAIM_CONV_IM(conv)); |