aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog3
-rw-r--r--addressbook/tools/evolution-addressbook-export-list-folders.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 42033b7a71..a16a6a3bef 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,7 +1,8 @@
2005-12-17 Tor Lillqvist <tml@novell.com>
* gui/component/addressbook-migrate.c
- * importers/evolution-vcard-importer.c: Use gstdio
+ * importers/evolution-vcard-importer.c
+ * tools/evolution-addressbook-export-list-folders.c: Use gstdio
wrappers. Use GDir API instead of dirent. Use GLib to convert file
names to URIs and back. Open files in binary mode.
diff --git a/addressbook/tools/evolution-addressbook-export-list-folders.c b/addressbook/tools/evolution-addressbook-export-list-folders.c
index 78fdca7f9f..2c6a1c6ac5 100644
--- a/addressbook/tools/evolution-addressbook-export-list-folders.c
+++ b/addressbook/tools/evolution-addressbook-export-list-folders.c
@@ -24,6 +24,7 @@
#include <config.h>
#include <glib.h>
+#include <glib/gstdio.h>
#include <bonobo-activation/bonobo-activation.h>
#include <libbonobo.h>
#include <libgnome/libgnome.h>
@@ -45,7 +46,7 @@ action_list_folders_init (ActionContext * p_actctx)
}
if (p_actctx->action_list_folders.output_file != NULL) {
- if (!(outputfile = fopen (p_actctx->action_list_folders.output_file, "w"))) {
+ if (!(outputfile = g_fopen (p_actctx->action_list_folders.output_file, "w"))) {
g_warning (_("Can not open file"));
exit (-1);
}