diff options
Diffstat (limited to 'modules/calendar/e-cal-config-date-edit.c')
-rw-r--r-- | modules/calendar/e-cal-config-date-edit.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/calendar/e-cal-config-date-edit.c b/modules/calendar/e-cal-config-date-edit.c index 594dee7f94..c26db3e2d6 100644 --- a/modules/calendar/e-cal-config-date-edit.c +++ b/modules/calendar/e-cal-config-date-edit.c @@ -22,6 +22,8 @@ #include <e-util/e-extension.h> #include <misc/e-dateedit.h> +static gpointer parent_class; + static void cal_config_date_edit_constructed (GObject *object) { @@ -45,6 +47,9 @@ cal_config_date_edit_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_date_edit_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_date_edit_constructed; |