[evolution] Remove unused e_cal_list_view_load_state().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Remove unused e_cal_list_view_load_state().
- Date: Tue, 2 Jul 2013 15:28:48 +0000 (UTC)
commit 8a75cbfea2f31e19fc074a1050deeafe7c8b2506
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Jul 1 14:39:01 2013 -0400
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, 0 insertions(+), 15 deletions(-)
---
diff --git a/calendar/gui/e-cal-list-view.c b/calendar/gui/e-cal-list-view.c
index 1a0f2ee..ad174da 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 e434033..f376853 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]