aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-week-view-config.c')
-rw-r--r--calendar/gui/e-week-view-config.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/calendar/gui/e-week-view-config.c b/calendar/gui/e-week-view-config.c
index e93f44373e..1f92ec8197 100644
--- a/calendar/gui/e-week-view-config.c
+++ b/calendar/gui/e-week-view-config.c
@@ -36,16 +36,14 @@ enum props {
PROP_VIEW,
};
-G_DEFINE_TYPE (EWeekViewConfig, e_week_view_config, G_TYPE_OBJECT);
+G_DEFINE_TYPE (EWeekViewConfig, e_week_view_config, G_TYPE_OBJECT)
static void
e_week_view_config_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
{
EWeekViewConfig *view_config;
- EWeekViewConfigPrivate *priv;
view_config = E_WEEK_VIEW_CONFIG (object);
- priv = view_config->priv;
switch (property_id) {
case PROP_VIEW:
@@ -61,10 +59,8 @@ static void
e_week_view_config_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
{
EWeekViewConfig *view_config;
- EWeekViewConfigPrivate *priv;
view_config = E_WEEK_VIEW_CONFIG (object);
- priv = view_config->priv;
switch (property_id) {
case PROP_VIEW:
@@ -80,9 +76,6 @@ static void
e_week_view_config_dispose (GObject *object)
{
EWeekViewConfig *view_config = E_WEEK_VIEW_CONFIG (object);
- EWeekViewConfigPrivate *priv;
-
- priv = view_config->priv;
e_week_view_config_set_view (view_config, NULL);