aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2005-12-17 21:26:50 +0800
committerTor Lillqvist <tml@src.gnome.org>2005-12-17 21:26:50 +0800
commitcf76cec2327f91e256b5920d6fbbcb8bcc75daf3 (patch)
tree288083619698b2e0654503f53375aadc95f00f5a /calendar
parent7b26c9fd421524ca3024c82fe50b308caffec84f (diff)
downloadgsoc2013-evolution-cf76cec2327f91e256b5920d6fbbcb8bcc75daf3.tar
gsoc2013-evolution-cf76cec2327f91e256b5920d6fbbcb8bcc75daf3.tar.gz
gsoc2013-evolution-cf76cec2327f91e256b5920d6fbbcb8bcc75daf3.tar.bz2
gsoc2013-evolution-cf76cec2327f91e256b5920d6fbbcb8bcc75daf3.tar.lz
gsoc2013-evolution-cf76cec2327f91e256b5920d6fbbcb8bcc75daf3.tar.xz
gsoc2013-evolution-cf76cec2327f91e256b5920d6fbbcb8bcc75daf3.tar.zst
gsoc2013-evolution-cf76cec2327f91e256b5920d6fbbcb8bcc75daf3.zip
Use gstdio wrappers.
2005-12-17 Tor Lillqvist <tml@novell.com> * gui/e-cal-list-view.c: Use gstdio wrappers. svn path=/trunk/; revision=30806
Diffstat (limited to 'calendar')
-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);
}