From ca3faa17a9a26479ce39649976264f96cbaf5f4c Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Mon, 6 Dec 2010 14:23:20 +0100 Subject: Free/busy meeting view doesn't work due to non-working extension --- modules/mail/e-mail-config-format-html.c | 7 +++++++ modules/mail/e-mail-config-reader.c | 7 +++++++ modules/mail/e-mail-config-web-view.c | 7 +++++++ 3 files changed, 21 insertions(+) (limited to 'modules/mail') diff --git a/modules/mail/e-mail-config-format-html.c b/modules/mail/e-mail-config-format-html.c index 26071c0614..fbf8c6d748 100644 --- a/modules/mail/e-mail-config-format-html.c +++ b/modules/mail/e-mail-config-format-html.c @@ -23,6 +23,8 @@ #include #include +static gpointer parent_class; + static void mail_config_format_html_constructed (GObject *object) { @@ -63,6 +65,9 @@ mail_config_format_html_constructed (GObject *object) shell_settings, "mail-show-real-date", extensible, "show-real-date", G_BINDING_SYNC_CREATE); + + if (G_OBJECT_CLASS (parent_class)->constructed) + G_OBJECT_CLASS (parent_class)->constructed (object); } static void @@ -70,6 +75,8 @@ mail_config_format_html_class_init (EExtensionClass *class) { GObjectClass *object_class; + parent_class = g_type_class_peek_parent (class); + object_class = G_OBJECT_CLASS (class); object_class->constructed = mail_config_format_html_constructed; diff --git a/modules/mail/e-mail-config-reader.c b/modules/mail/e-mail-config-reader.c index f1e43228d2..6faad6a551 100644 --- a/modules/mail/e-mail-config-reader.c +++ b/modules/mail/e-mail-config-reader.c @@ -22,6 +22,8 @@ #include #include +static gpointer parent_class; + static void mail_config_reader_constructed (GObject *object) { @@ -45,6 +47,9 @@ mail_config_reader_constructed (GObject *object) shell_settings, "mail-reply-style", extensible, "reply-style", G_BINDING_SYNC_CREATE); + + if (G_OBJECT_CLASS (parent_class)->constructed) + G_OBJECT_CLASS (parent_class)->constructed (object); } static void @@ -52,6 +57,8 @@ mail_config_reader_class_init (EExtensionClass *class) { GObjectClass *object_class; + parent_class = g_type_class_peek_parent (class); + object_class = G_OBJECT_CLASS (class); object_class->constructed = mail_config_reader_constructed; diff --git a/modules/mail/e-mail-config-web-view.c b/modules/mail/e-mail-config-web-view.c index 3157ff07f9..9dda757bd5 100644 --- a/modules/mail/e-mail-config-web-view.c +++ b/modules/mail/e-mail-config-web-view.c @@ -22,6 +22,8 @@ #include #include +static gpointer parent_class; + static void mail_config_web_view_realize (GtkWidget *widget) { @@ -68,6 +70,9 @@ mail_config_web_view_constructed (GObject *object) g_signal_connect ( extensible, "realize", G_CALLBACK (mail_config_web_view_realize), NULL); + + if (G_OBJECT_CLASS (parent_class)->constructed) + G_OBJECT_CLASS (parent_class)->constructed (object); } static void @@ -75,6 +80,8 @@ mail_config_web_view_class_init (EExtensionClass *class) { GObjectClass *object_class; + parent_class = g_type_class_peek_parent (class); + object_class = G_OBJECT_CLASS (class); object_class->constructed = mail_config_web_view_constructed; -- cgit v1.2.3