[evolution/account-mgmt: 41/50] Adapt imap-features plugin to the new ESource API.



commit 85c2ade4d040781e19e0153efd60ed25f1ab856b
Author: Matthew Barnes <mbarnes redhat com>
Date:   Mon Apr 25 15:17:27 2011 -0400

    Adapt imap-features plugin to the new ESource API.

 plugins/imap-features/imap-headers.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/plugins/imap-features/imap-headers.c b/plugins/imap-features/imap-headers.c
index a496106..2a8c8ac 100644
--- a/plugins/imap-features/imap-headers.c
+++ b/plugins/imap-features/imap-headers.c
@@ -31,7 +31,6 @@
 #include <gtk/gtk.h>
 
 #include <e-util/e-util.h>
-#include <e-util/e-account-utils.h>
 
 #include <glib/gi18n.h>
 
@@ -78,6 +77,7 @@ void
 imap_headers_commit (EPlugin *efp,
                      EConfigHookItemFactoryData *data)
 {
+#if 0  /* ACCOUNT_MGMT */
 	EMConfigTargetAccount *target_account;
 	CamelFetchHeadersType fetch_headers;
 	CamelSettings *settings;
@@ -129,6 +129,7 @@ imap_headers_commit (EPlugin *efp,
 
 		g_strfreev (strv);
 	}
+#endif /* ACCOUNT_MGMT */
 }
 
 /* return true is the header is considered valid */
@@ -249,6 +250,7 @@ GtkWidget *
 org_gnome_imap_headers (EPlugin *epl,
                         EConfigHookItemFactoryData *data)
 {
+#if 0  /* ACCOUNT_MGMT */
 	EMConfigTargetAccount *target_account;
 	CamelSettings *settings;
 	EAccount *account;
@@ -351,4 +353,7 @@ org_gnome_imap_headers (EPlugin *epl,
 	gtk_widget_show_all (vbox);
 
 	return GTK_WIDGET (vbox);
+#endif /* ACCOUNT_MGMT */
+
+	return NULL;
 }



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