diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-03-09 22:47:41 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-03-17 20:49:11 +0800 |
commit | 891a1fecc6bd55562b074da27b90121feb769d9b (patch) | |
tree | 300651599ad67236c6d8f6cbc6c19567abebcc76 /calendar | |
parent | 09c3d6e48229e092644194b2643ab2d479e7a772 (diff) | |
download | gsoc2013-evolution-891a1fecc6bd55562b074da27b90121feb769d9b.tar.gz gsoc2013-evolution-891a1fecc6bd55562b074da27b90121feb769d9b.tar.zst gsoc2013-evolution-891a1fecc6bd55562b074da27b90121feb769d9b.zip |
Remove calendar_config_get_working_days().
No longer used.
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/gui/calendar-config.c | 9 | ||||
-rw-r--r-- | calendar/gui/calendar-config.h | 17 |
2 files changed, 0 insertions, 26 deletions
diff --git a/calendar/gui/calendar-config.c b/calendar/gui/calendar-config.c index 15b6024931..d5f0691f60 100644 --- a/calendar/gui/calendar-config.c +++ b/calendar/gui/calendar-config.c @@ -171,15 +171,6 @@ calendar_config_add_notification_month_scroll_by_week (CalendarConfigChangedFunc /***************************************/ -/* The working days of the week, a bit-wise combination of flags. */ -CalWeekdays -calendar_config_get_working_days (void) -{ - calendar_config_init (); - - return g_settings_get_int (config, "working-days"); -} - /* Settings to hide completed tasks. */ gboolean calendar_config_get_hide_completed_tasks (void) diff --git a/calendar/gui/calendar-config.h b/calendar/gui/calendar-config.h index cd492c1480..d868851026 100644 --- a/calendar/gui/calendar-config.h +++ b/calendar/gui/calendar-config.h @@ -34,20 +34,6 @@ #include <e-util/e-util.h> -/* These are used to get/set the working days in the week. The bit-flags are - * combined together. The bits must be from 0 (Sun) to 6 (Sat) to match the - * day values used by localtime etc. */ -typedef enum -{ - CAL_SUNDAY = 1 << 0, - CAL_MONDAY = 1 << 1, - CAL_TUESDAY = 1 << 2, - CAL_WEDNESDAY = 1 << 3, - CAL_THURSDAY = 1 << 4, - CAL_FRIDAY = 1 << 5, - CAL_SATURDAY = 1 << 6 -} CalWeekdays; - typedef void (* CalendarConfigChangedFunc) (GSettings *settings, const gchar *key, gpointer user_data); @@ -61,9 +47,6 @@ void calendar_config_remove_notification (CalendarConfigChangedFunc func, gpoint /* The current timezone, e.g. "Europe/London". */ icaltimezone *calendar_config_get_icaltimezone (void); -/* The working days of the week, a bit-wise combination of flags. */ -CalWeekdays calendar_config_get_working_days (void); - /* Whether we use 24-hour format or 12-hour format (AM/PM). */ gboolean calendar_config_get_24_hour_format (void); |