aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-list-view-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-cal-list-view-config.c')
-rw-r--r--calendar/gui/e-cal-list-view-config.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/calendar/gui/e-cal-list-view-config.c b/calendar/gui/e-cal-list-view-config.c
index 51ebd58ed4..80ac9a46be 100644
--- a/calendar/gui/e-cal-list-view-config.c
+++ b/calendar/gui/e-cal-list-view-config.c
@@ -36,16 +36,14 @@ enum props {
PROP_VIEW,
};
-G_DEFINE_TYPE (ECalListViewConfig, e_cal_list_view_config, G_TYPE_OBJECT);
+G_DEFINE_TYPE (ECalListViewConfig, e_cal_list_view_config, G_TYPE_OBJECT)
static void
e_cal_list_view_config_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
{
ECalListViewConfig *view_config;
- ECalListViewConfigPrivate *priv;
view_config = E_CAL_LIST_VIEW_CONFIG (object);
- priv = view_config->priv;
switch (property_id) {
case PROP_VIEW:
@@ -61,10 +59,8 @@ static void
e_cal_list_view_config_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
{
ECalListViewConfig *view_config;
- ECalListViewConfigPrivate *priv;
view_config = E_CAL_LIST_VIEW_CONFIG (object);
- priv = view_config->priv;
switch (property_id) {
case PROP_VIEW:
@@ -80,10 +76,7 @@ static void
e_cal_list_view_config_dispose (GObject *object)
{
ECalListViewConfig *view_config = E_CAL_LIST_VIEW_CONFIG (object);
- ECalListViewConfigPrivate *priv;
- priv = view_config->priv;
-
e_cal_list_view_config_set_view (view_config, NULL);
if (G_OBJECT_CLASS (e_cal_list_view_config_parent_class)->dispose)