aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-03-09 20:18:07 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-03-09 20:18:07 +0800
commit5c13485203337f8676abc9ba299c25ea52f5943c (patch)
tree0ef9f8c8ca1f5b9a674797eb7156e65f7dbd6954 /calendar/gui
parenta1b3f2e2ebc92628f4711b2c3eee9adae7a104cd (diff)
downloadgsoc2013-evolution-5c13485203337f8676abc9ba299c25ea52f5943c.tar.gz
gsoc2013-evolution-5c13485203337f8676abc9ba299c25ea52f5943c.tar.zst
gsoc2013-evolution-5c13485203337f8676abc9ba299c25ea52f5943c.zip
EMeetingStore: Removed unused "week-start-day" property.
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-meeting-store.c52
-rw-r--r--calendar/gui/e-meeting-store.h5
2 files changed, 1 insertions, 56 deletions
diff --git a/calendar/gui/e-meeting-store.c b/calendar/gui/e-meeting-store.c
index 4d53037d5a..ae10d60310 100644
--- a/calendar/gui/e-meeting-store.c
+++ b/calendar/gui/e-meeting-store.c
@@ -57,8 +57,6 @@ struct _EMeetingStorePrivate {
gint default_reminder_interval;
EDurationType default_reminder_units;
- gint week_start_day;
-
gchar *fb_uri;
GPtrArray *refresh_queue;
@@ -95,8 +93,7 @@ enum {
PROP_DEFAULT_REMINDER_INTERVAL,
PROP_DEFAULT_REMINDER_UNITS,
PROP_FREE_BUSY_TEMPLATE,
- PROP_TIMEZONE,
- PROP_WEEK_START_DAY
+ PROP_TIMEZONE
};
/* Forward Declarations */
@@ -667,12 +664,6 @@ meeting_store_set_property (GObject *object,
E_MEETING_STORE (object),
g_value_get_pointer (value));
return;
-
- case PROP_WEEK_START_DAY:
- e_meeting_store_set_week_start_day (
- E_MEETING_STORE (object),
- g_value_get_int (value));
- return;
}
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
@@ -719,13 +710,6 @@ meeting_store_get_property (GObject *object,
e_meeting_store_get_timezone (
E_MEETING_STORE (object)));
return;
-
- case PROP_WEEK_START_DAY:
- g_value_set_int (
- value,
- e_meeting_store_get_week_start_day (
- E_MEETING_STORE (object)));
- return;
}
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
@@ -827,18 +811,6 @@ e_meeting_store_class_init (EMeetingStoreClass *class)
"Timezone",
NULL,
G_PARAM_READWRITE));
-
- g_object_class_install_property (
- object_class,
- PROP_WEEK_START_DAY,
- g_param_spec_int (
- "week-start-day",
- "Week Start Day",
- NULL,
- 0, /* Monday */
- 6, /* Sunday */
- 0,
- G_PARAM_READWRITE));
}
static void
@@ -983,28 +955,6 @@ e_meeting_store_set_timezone (EMeetingStore *store,
g_object_notify (G_OBJECT (store), "timezone");
}
-gint
-e_meeting_store_get_week_start_day (EMeetingStore *store)
-{
- g_return_val_if_fail (E_IS_MEETING_STORE (store), 0);
-
- return store->priv->week_start_day;
-}
-
-void
-e_meeting_store_set_week_start_day (EMeetingStore *store,
- gint week_start_day)
-{
- g_return_if_fail (E_IS_MEETING_STORE (store));
-
- if (store->priv->week_start_day == week_start_day)
- return;
-
- store->priv->week_start_day = week_start_day;
-
- g_object_notify (G_OBJECT (store), "week-start-day");
-}
-
static void
attendee_changed_cb (EMeetingAttendee *attendee,
gpointer data)
diff --git a/calendar/gui/e-meeting-store.h b/calendar/gui/e-meeting-store.h
index 27c1f9ac78..97262a5177 100644
--- a/calendar/gui/e-meeting-store.h
+++ b/calendar/gui/e-meeting-store.h
@@ -109,11 +109,6 @@ void e_meeting_store_set_free_busy_template
icaltimezone * e_meeting_store_get_timezone (EMeetingStore *meeting_store);
void e_meeting_store_set_timezone (EMeetingStore *meeting_store,
icaltimezone *timezone);
-gint e_meeting_store_get_week_start_day
- (EMeetingStore *meeting_store);
-void e_meeting_store_set_week_start_day
- (EMeetingStore *meeting_store,
- gint week_start_day);
void e_meeting_store_add_attendee (EMeetingStore *meeting_store,
EMeetingAttendee *attendee);
EMeetingAttendee *