aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-calendar-view.c')
-rw-r--r--calendar/gui/e-calendar-view.c4
1 files changed, 3 insertions, 1 deletions
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;