Mercurial > pidgin
comparison src/desktopitem.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 | 9aa0b6d11bbf |
children | f3768fab10bd |
comparison
equal
deleted
inserted
replaced
10588:529111933c9c | 10589:0f7452b1f777 |
---|---|
1148 GaimDesktopItem *retval; | 1148 GaimDesktopItem *retval; |
1149 FILE *dfile; | 1149 FILE *dfile; |
1150 | 1150 |
1151 g_return_val_if_fail (filename != NULL, NULL); | 1151 g_return_val_if_fail (filename != NULL, NULL); |
1152 | 1152 |
1153 dfile = fopen(filename, "r"); | 1153 dfile = g_fopen(filename, "r"); |
1154 if (!dfile) { | 1154 if (!dfile) { |
1155 printf ("Can't open %s: %s", filename, strerror(errno)); | 1155 printf ("Can't open %s: %s", filename, strerror(errno)); |
1156 return NULL; | 1156 return NULL; |
1157 } | 1157 } |
1158 | 1158 |