aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/gui/calendar-config.c9
-rw-r--r--calendar/gui/calendar-config.h17
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);