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



commit aacf483b5ae385c1cf9bc74ffea3acf325ae19b3
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Sep 24 09:48:52 2011 -0400

    Adapt itip-formatter plugin to the new ESource API.

 plugins/itip-formatter/itip-formatter.c |    5 +++--
 plugins/itip-formatter/itip-view.c      |    4 ++--
 plugins/itip-formatter/itip-view.h      |    4 ----
 3 files changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index 9ab5895..01623e4 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -20,6 +20,8 @@
  *
  */
 
+#if 0  /* ACCOUNT_MGMT */
+
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
@@ -40,8 +42,6 @@
 #include <mail/mail-folder-cache.h>
 #include <mail/mail-tools.h>
 #include <mail/mail-mt.h>
-#include <libedataserver/e-account-list.h>
-#include <e-util/e-account-utils.h>
 #include <e-util/e-alert-dialog.h>
 #include <e-util/e-mktemp.h>
 #include <calendar/gui/itip-utils.h>
@@ -3129,3 +3129,4 @@ itip_attachment_frame (EMFormat *emf,
 	camel_stream_close (stream, cancellable, NULL);
 }
 
+#endif /* ACCOUNT_MGMT */
diff --git a/plugins/itip-formatter/itip-view.c b/plugins/itip-formatter/itip-view.c
index 149e01b..4c6f15a 100644
--- a/plugins/itip-formatter/itip-view.c
+++ b/plugins/itip-formatter/itip-view.c
@@ -35,7 +35,6 @@
 #include <gtkhtml/gtkhtml-embedded.h>
 #include <mail/em-format-hook.h>
 #include <mail/em-format-html.h>
-#include <libedataserver/e-account-list.h>
 #include <e-util/e-util.h>
 #include <e-util/e-unicode.h>
 #include <calendar/gui/itip-utils.h>
@@ -103,7 +102,6 @@ struct _ItipViewPrivate {
 	GtkWidget *selector_box;
 	GtkWidget *escb;
 	GtkWidget *escb_header;
-	ESourceList *source_list;
 
 	GtkWidget *rsvp_box;
 	GtkWidget *rsvp_check;
@@ -1922,6 +1920,7 @@ source_changed_cb (ESourceComboBox *escb,
 	g_signal_emit (view, signals[SOURCE_SELECTED], 0, source);
 }
 
+#if 0  /* ACCOUNT_MGMT */
 void
 itip_view_set_source_list (ItipView *view,
                            ESourceList *source_list)
@@ -1987,6 +1986,7 @@ itip_view_get_source_list (ItipView *view)
 
 	return priv->source_list;
 }
+#endif /* ACCOUNT_MGMT */
 
 void
 itip_view_set_source (ItipView *view,
diff --git a/plugins/itip-formatter/itip-view.h b/plugins/itip-formatter/itip-view.h
index d68ebdf..83f656e 100644
--- a/plugins/itip-formatter/itip-view.h
+++ b/plugins/itip-formatter/itip-view.h
@@ -27,7 +27,6 @@
 #include <stdarg.h>
 #include <unistd.h>
 #include <gtk/gtk.h>
-#include <libedataserver/e-source-list.h>
 #include <libecal/e-cal-client.h>
 
 G_BEGIN_DECLS
@@ -148,9 +147,6 @@ guint itip_view_add_lower_info_item_printf (ItipView *view, ItipViewInfoItemType
 void itip_view_remove_lower_info_item (ItipView *view, guint id);
 void itip_view_clear_lower_info_items (ItipView *view);
 
-void itip_view_set_source_list (ItipView *view, ESourceList *source_list);
-ESourceList *itip_view_get_source_list (ItipView *view);
-
 void itip_view_set_source (ItipView *view, ESource *source);
 ESource *itip_view_get_source (ItipView *view);
 



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