diff options
author | Kjartan Maraas <kmaraas@src.gnome.org> | 2006-01-28 00:34:03 +0800 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2006-01-28 00:34:03 +0800 |
commit | 45f799eb8632142a31d1dbf3572c2672bb36c747 (patch) | |
tree | 852523494c449077b4e59e0812bd7277d6892a4f /plugins/groupwise-features/install-shared.c | |
parent | 6a557ef8fd8fb37af345b0f092f8419572bee1dd (diff) | |
download | gsoc2013-evolution-45f799eb8632142a31d1dbf3572c2672bb36c747.tar.gz gsoc2013-evolution-45f799eb8632142a31d1dbf3572c2672bb36c747.tar.zst gsoc2013-evolution-45f799eb8632142a31d1dbf3572c2672bb36c747.zip |
Make this place a bit more quiet
svn path=/trunk/; revision=31328
Diffstat (limited to 'plugins/groupwise-features/install-shared.c')
-rw-r--r-- | plugins/groupwise-features/install-shared.c | 15 |
1 files changed, 6 insertions, 9 deletions
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); |