diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-07-02 02:39:01 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-02 22:34:12 +0800 |
commit | 8a75cbfea2f31e19fc074a1050deeafe7c8b2506 (patch) | |
tree | c61a34eaa6766af0a55d2e02b85d8b4299772716 | |
parent | b5f6b03fdfe570085de542d81ddba7338723f9ac (diff) | |
download | gsoc2013-evolution-8a75cbfea2f31e19fc074a1050deeafe7c8b2506.tar gsoc2013-evolution-8a75cbfea2f31e19fc074a1050deeafe7c8b2506.tar.gz gsoc2013-evolution-8a75cbfea2f31e19fc074a1050deeafe7c8b2506.tar.bz2 gsoc2013-evolution-8a75cbfea2f31e19fc074a1050deeafe7c8b2506.tar.lz gsoc2013-evolution-8a75cbfea2f31e19fc074a1050deeafe7c8b2506.tar.xz gsoc2013-evolution-8a75cbfea2f31e19fc074a1050deeafe7c8b2506.tar.zst gsoc2013-evolution-8a75cbfea2f31e19fc074a1050deeafe7c8b2506.zip |
Remove unused e_cal_list_view_load_state().
-rw-r--r-- | calendar/gui/e-cal-list-view.c | 14 | ||||
-rw-r--r-- | calendar/gui/e-cal-list-view.h | 1 |
2 files changed, 0 insertions, 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 @@ -151,20 +151,6 @@ get_current_time_cb (ECellDateEdit *ecde, } 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, |