aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-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;