[evolution/webkit: 76/113] Remove FIXMEs and fix compilation warnings in plugins



commit ff155025e9218b16e2a9c5afbccbc713f6b592c1
Author: Dan VrÃtil <dvratil redhat com>
Date:   Wed Dec 14 16:27:36 2011 +0100

    Remove FIXMEs and fix compilation warnings in plugins

 plugins/itip-formatter/itip-formatter.c |   21 +--------------------
 plugins/vcard-inline/vcard-inline.c     |    7 -------
 2 files changed, 1 insertions(+), 27 deletions(-)
---
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index c24e2ce..0a52381 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -139,7 +139,6 @@ struct _itip_puri {
 
 void format_itip (EPlugin *ep, EMFormatHookTarget *target);
 GtkWidget *itip_formatter_page_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_data);
-static void itip_attachment_frame (EMFormat *emf, CamelStream *stream, EMFormatPURI *puri, GCancellable *cancellable);
 gint e_plugin_lib_enable (EPlugin *ep, gint enable);
 
 typedef struct {
@@ -3290,22 +3289,4 @@ itip_formatter_page_factory (EPlugin *ep,
 	gtk_widget_show_all (page);
 
 	return page;
-}
-
-static void
-itip_attachment_frame (EMFormat *emf,
-                       CamelStream *stream,
-                       EMFormatPURI *puri,
-                       GCancellable *cancellable)
-{
-	/* FIXME WEBKIT: I have no idea what these _frame functions are supposed to do
-	struct _itip_puri *info = (struct _itip_puri *) puri;
-
-	info->handle->handler (
-		emf, stream, info->puri.part,
-		info->handle, cancellable, FALSE);
-
-	camel_stream_close (stream, cancellable, NULL);
-	*/
-}
-
+}
\ No newline at end of file
diff --git a/plugins/vcard-inline/vcard-inline.c b/plugins/vcard-inline/vcard-inline.c
index 16829b3..3c9b24a 100644
--- a/plugins/vcard-inline/vcard-inline.c
+++ b/plugins/vcard-inline/vcard-inline.c
@@ -320,7 +320,6 @@ org_gnome_vcard_inline_format (gpointer ep,
 {
 	VCardInlinePURI *vcard_object;
 	gchar *classid;
-	gchar *content;
 
 	classid = g_strdup_printf (
 		"org-gnome-vcard-inline-display-%d",
@@ -338,11 +337,5 @@ org_gnome_vcard_inline_format (gpointer ep,
 
 	e_book_client_get_sources (&vcard_object->source_list, NULL);
 
-	/* FIXME WEBKIT: No streams, right?
-	content = g_strdup_printf ("<object classid=%s></object>", classid);
-	camel_stream_write_string (target->stream, content, NULL, NULL);
-	g_free (content);
-	*/
-
 	g_free (classid);
 }



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