[evolution] Remove calendar_config_get_working_days().



commit 891a1fecc6bd55562b074da27b90121feb769d9b
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Mar 9 09:47:41 2013 -0500

    Remove calendar_config_get_working_days().
    
    No longer used.

 calendar/gui/calendar-config.c |    9 ---------
 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 15b6024..d5f0691 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 cd492c1..d868851 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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]