aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog2
-rw-r--r--calendar/gui/e-cal-list-view.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index f258131ad3..52f2eb7ff7 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -4,6 +4,8 @@
* gui/e-cal-component-memo-preview.c: Use GLib to construct
filenames from URIs and vice versa.
+ * gui/e-cal-list-view.c: Use gstdio wrappers.
+
2005-12-15 Srinivasa Ragavan <sragavan@novell.com>
** Fixes bug #324094
diff --git a/calendar/gui/e-cal-list-view.c b/calendar/gui/e-cal-list-view.c
index 69c1284e0d..6cd15bb645 100644
--- a/calendar/gui/e-cal-list-view.c
+++ b/calendar/gui/e-cal-list-view.c
@@ -41,6 +41,7 @@
#include <gtk/gtksignal.h>
#include <gtk/gtkvscrollbar.h>
#include <gtk/gtkwindow.h>
+#include <glib/gstdio.h>
#include <misc/e-gui-utils.h>
#include <table/e-table-memory-store.h>
#include <table/e-cell-checkbox.h>
@@ -181,7 +182,7 @@ e_cal_list_view_load_state (ECalListView *cal_list_view, gchar *filename)
g_return_if_fail (E_IS_CAL_LIST_VIEW (cal_list_view));
g_return_if_fail (filename != NULL);
- if (stat (filename, &st) == 0 && st.st_size > 0 && S_ISREG (st.st_mode))
+ if (g_stat (filename, &st) == 0 && st.st_size > 0 && S_ISREG (st.st_mode))
e_table_load_state (e_table_scrolled_get_table (cal_list_view->table_scrolled), filename);
}