aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2005-12-17 21:31:49 +0800
committerTor Lillqvist <tml@src.gnome.org>2005-12-17 21:31:49 +0800
commitab3120eb9a4f51883231eea0879ad2b5da55d8ae (patch)
treeb1e4f8409a24f54b62f93e911d79793a3ae81576
parentf5c9697bef825397c097fb6edd3a76c08d5c7da5 (diff)
downloadgsoc2013-evolution-ab3120eb9a4f51883231eea0879ad2b5da55d8ae.tar
gsoc2013-evolution-ab3120eb9a4f51883231eea0879ad2b5da55d8ae.tar.gz
gsoc2013-evolution-ab3120eb9a4f51883231eea0879ad2b5da55d8ae.tar.bz2
gsoc2013-evolution-ab3120eb9a4f51883231eea0879ad2b5da55d8ae.tar.lz
gsoc2013-evolution-ab3120eb9a4f51883231eea0879ad2b5da55d8ae.tar.xz
gsoc2013-evolution-ab3120eb9a4f51883231eea0879ad2b5da55d8ae.tar.zst
gsoc2013-evolution-ab3120eb9a4f51883231eea0879ad2b5da55d8ae.zip
Use gstdio wrappers.
2005-12-17 Tor Lillqvist <tml@novell.com> * gui/e-calendar-view.c: Use gstdio wrappers. svn path=/trunk/; revision=30809
-rw-r--r--calendar/ChangeLog3
-rw-r--r--calendar/gui/e-calendar-view.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 8e121cd2c1..73088a4ce2 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -5,7 +5,8 @@
filenames from URIs and vice versa.
* gui/e-cal-list-view.c
- * gui/e-calendar-table.c: Use gstdio wrappers.
+ * gui/e-calendar-table.c
+ * gui/e-calendar-view.c: Use gstdio wrappers.
* gui/e-cal-model-tasks.c: Use e_util_utf8_strcasecmp() to do
proper comparison of translated (UTF-8) strings.
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c
index 01fdf973a4..4cf2b3e368 100644
--- a/calendar/gui/e-calendar-view.c
+++ b/calendar/gui/e-calendar-view.c
@@ -27,6 +27,8 @@
#include <string.h>
#include <time.h>
+#include <glib.h>
+#include <glib/gstdio.h>
#include <gtk/gtkimage.h>
#include <gtk/gtkstock.h>
#include <gdk/gdkkeysyms.h>
@@ -1148,7 +1150,7 @@ on_save_as (EPopup *ep, EPopupItem *pitem, void *data)
return;
}
- file = fopen (filename, "w");
+ file = g_fopen (filename, "w");
if (file == NULL) {
g_warning ("Couldn't save item");
return;