From 45f799eb8632142a31d1dbf3572c2672bb36c747 Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Fri, 27 Jan 2006 16:34:03 +0000 Subject: Make this place a bit more quiet svn path=/trunk/; revision=31328 --- plugins/groupwise-features/install-shared.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'plugins/groupwise-features/install-shared.c') diff --git a/plugins/groupwise-features/install-shared.c b/plugins/groupwise-features/install-shared.c index 40ae0a26d5..0c944458a5 100644 --- a/plugins/groupwise-features/install-shared.c +++ b/plugins/groupwise-features/install-shared.c @@ -154,7 +154,7 @@ accept_clicked(GnomeDruidPage *page, GtkWidget *druid, CamelMimeMessage *msg) { EMFolderTreeModel *model; EMFolderTree *folder_tree; - GtkWidget *dialog ; + GtkWidget *dialog; struct AcceptData *accept_data; char *uri; @@ -186,18 +186,15 @@ org_gnome_popup_wizard (EPlugin *ep, EMEventTargetMessage *target) GtkWidget *window; GnomeDruid *wizard; GnomeDruidPageEdge *title_page; - CamelMimeMessage *msg = (CamelMimeMessage *) target->message ; - CamelStreamMem *content ; + CamelMimeMessage *msg = (CamelMimeMessage *) target->message; + CamelStreamMem *content; CamelDataWrapper *dw; - CamelMimePart *mime_part ; - char *notification; char *start_message; if (!msg) - return ; + return; - mime_part = CAMEL_MIME_PART(msg) ; - if ((notification = (char *)camel_medium_get_header (CAMEL_MEDIUM(msg),"X-notification")) == NULL + if (((char *)camel_medium_get_header (CAMEL_MEDIUM(msg),"X-notification")) == NULL || (from_addr = camel_mime_message_get_from ((CamelMimeMessage *)target->message)) == NULL || !camel_internet_address_get(from_addr, 0, &name, &email) || (dw = camel_medium_get_content_object (CAMEL_MEDIUM (msg))) == NULL) { @@ -210,7 +207,7 @@ org_gnome_popup_wizard (EPlugin *ep, EMEventTargetMessage *target) } content = (CamelStreamMem *)camel_stream_mem_new(); - camel_data_wrapper_write_to_stream(dw, (CamelStream *)content) ; + camel_data_wrapper_write_to_stream(dw, (CamelStream *)content); camel_stream_write((CamelStream *)content, "", 1); from_addr = camel_mime_message_get_from ((CamelMimeMessage *)target->message); -- cgit v1.2.3