[evolution] Bug #655430 - Forgotten EMailJunkOptions type init for mail-config.ui



commit 167e91e823ae90cef4a74c9d218c534b3f1f3e77
Author: Milan Crha <mcrha redhat com>
Date:   Wed Jul 27 19:49:56 2011 +0200

    Bug #655430 - Forgotten EMailJunkOptions type init for mail-config.ui

 mail/em-account-editor.c         |    2 ++
 modules/mail/em-composer-prefs.c |    2 ++
 modules/mail/em-network-prefs.c  |    2 ++
 3 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index ed7d172..0b6ff14 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -60,6 +60,7 @@
 
 #include "e-mail-backend.h"
 #include "e-mail-folder-utils.h"
+#include "e-mail-junk-options.h"
 #include "e-mail-local.h"
 #include "e-mail-store.h"
 #include "em-config.h"
@@ -2265,6 +2266,7 @@ emae_identity_page (EConfig *ec,
 
 	/* Make sure our custom widget classes are registered with
 	 * GType before we load the GtkBuilder definition file. */
+	E_TYPE_MAIL_JUNK_OPTIONS;
 	EM_TYPE_FOLDER_SELECTION_BUTTON;
 
 	builder = gtk_builder_new ();
diff --git a/modules/mail/em-composer-prefs.c b/modules/mail/em-composer-prefs.c
index 39da854..2703a8d 100644
--- a/modules/mail/em-composer-prefs.c
+++ b/modules/mail/em-composer-prefs.c
@@ -45,6 +45,7 @@
 
 #include "e-util/e-util.h"
 #include "e-util/e-util-private.h"
+#include "mail/e-mail-junk-options.h"
 #include "widgets/misc/e-charset-combo-box.h"
 #include "widgets/misc/e-signature-editor.h"
 #include "widgets/misc/e-signature-manager.h"
@@ -331,6 +332,7 @@ em_composer_prefs_construct (EMComposerPrefs *prefs,
 
 	/* Make sure our custom widget classes are registered with
 	 * GType before we load the GtkBuilder definition file. */
+	E_TYPE_MAIL_JUNK_OPTIONS;
 	EM_TYPE_FOLDER_SELECTION_BUTTON;
 
 	prefs->builder = gtk_builder_new ();
diff --git a/modules/mail/em-network-prefs.c b/modules/mail/em-network-prefs.c
index 05572cb..d33f71e 100644
--- a/modules/mail/em-network-prefs.c
+++ b/modules/mail/em-network-prefs.c
@@ -39,6 +39,7 @@
 
 #include "e-util/e-util.h"
 #include "e-util/e-util-private.h"
+#include "mail/e-mail-junk-options.h"
 
 #include "em-config.h"
 #include "em-folder-selection-button.h"
@@ -316,6 +317,7 @@ em_network_prefs_construct (EMNetworkPrefs *prefs)
 
 	/* Make sure our custom widget classes are registered with
 	 * GType before we load the GtkBuilder definition file. */
+	E_TYPE_MAIL_JUNK_OPTIONS;
 	EM_TYPE_FOLDER_SELECTION_BUTTON;
 
 	prefs->builder = gtk_builder_new ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]