From 8a75cbfea2f31e19fc074a1050deeafe7c8b2506 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 1 Jul 2013 14:39:01 -0400 Subject: Remove unused e_cal_list_view_load_state(). --- calendar/gui/e-cal-list-view.c | 14 -------------- calendar/gui/e-cal-list-view.h | 1 - 2 files changed, 15 deletions(-) diff --git a/calendar/gui/e-cal-list-view.c b/calendar/gui/e-cal-list-view.c index 1a0f2ee9f3..ad174daaf0 100644 --- a/calendar/gui/e-cal-list-view.c +++ b/calendar/gui/e-cal-list-view.c @@ -150,20 +150,6 @@ get_current_time_cb (ECellDateEdit *ecde, return tmp_tm; } -void -e_cal_list_view_load_state (ECalListView *cal_list_view, - gchar *filename) -{ - struct stat st; - - g_return_if_fail (cal_list_view != NULL); - g_return_if_fail (E_IS_CAL_LIST_VIEW (cal_list_view)); - g_return_if_fail (filename != NULL); - - if (g_stat (filename, &st) == 0 && st.st_size > 0 && S_ISREG (st.st_mode)) - e_table_load_state (cal_list_view->table, filename); -} - void e_cal_list_view_save_state (ECalListView *cal_list_view, gchar *filename) diff --git a/calendar/gui/e-cal-list-view.h b/calendar/gui/e-cal-list-view.h index e434033a00..f376853052 100644 --- a/calendar/gui/e-cal-list-view.h +++ b/calendar/gui/e-cal-list-view.h @@ -85,7 +85,6 @@ struct _ECalListViewClass { GType e_cal_list_view_get_type (void); ECalendarView *e_cal_list_view_new (ECalModel *cal_model); -void e_cal_list_view_load_state (ECalListView *cal_list_view, gchar *filename); void e_cal_list_view_save_state (ECalListView *cal_list_view, gchar *filename); gboolean e_cal_list_view_get_range_shown (ECalListView *cal_list_view, GDate *start_date, -- cgit