Mercurial > pidgin.yaz
comparison src/gtkdebug.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 | 6a20307ef8dc |
children | 42dbc4ba1325 |
comparison
equal
deleted
inserted
replaced
10588:529111933c9c | 10589:0f7452b1f777 |
---|---|
171 { | 171 { |
172 DebugWindow *win = (DebugWindow *)user_data; | 172 DebugWindow *win = (DebugWindow *)user_data; |
173 FILE *fp; | 173 FILE *fp; |
174 char *tmp; | 174 char *tmp; |
175 | 175 |
176 if ((fp = fopen(filename, "w+")) == NULL) { | 176 if ((fp = g_fopen(filename, "w+")) == NULL) { |
177 gaim_notify_error(win, NULL, _("Unable to open file."), NULL); | 177 gaim_notify_error(win, NULL, _("Unable to open file."), NULL); |
178 return; | 178 return; |
179 } | 179 } |
180 | 180 |
181 tmp = gtk_imhtml_get_text(GTK_IMHTML(win->text), NULL, NULL); | 181 tmp = gtk_imhtml_get_text(GTK_IMHTML(win->text), NULL, NULL); |