aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-cal-config-calendar-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/calendar/e-cal-config-calendar-item.c')
-rw-r--r--modules/calendar/e-cal-config-calendar-item.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/calendar/e-cal-config-calendar-item.c b/modules/calendar/e-cal-config-calendar-item.c
index 45d1797714..f2116e63cf 100644
--- a/modules/calendar/e-cal-config-calendar-item.c
+++ b/modules/calendar/e-cal-config-calendar-item.c
@@ -22,6 +22,8 @@
#include <e-util/e-extension.h>
#include <misc/e-calendar-item.h>
+static gpointer parent_class;
+
static void
cal_config_calendar_item_constructed (GObject *object)
{
@@ -45,6 +47,9 @@ cal_config_calendar_item_constructed (GObject *object)
shell_settings, "cal-week-start-day",
extensible, "week-start-day",
G_BINDING_SYNC_CREATE);
+
+ if (G_OBJECT_CLASS (parent_class)->constructed)
+ G_OBJECT_CLASS (parent_class)->constructed (object);
}
static void
@@ -52,6 +57,8 @@ cal_config_calendar_item_class_init (EExtensionClass *class)
{
GObjectClass *object_class;
+ parent_class = g_type_class_peek_parent (class);
+
object_class = G_OBJECT_CLASS (class);
object_class->constructed = cal_config_calendar_item_constructed;