aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-attachment.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-10-10 08:10:02 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-10-10 08:10:02 +0800
commit45a3bf8c4557eea71a77afd8a6efcc01416ecdef (patch)
treef615af925957410ecf2f9c0bf82fc79c8726a7f6 /composer/e-msg-composer-attachment.h
parentb457da9a980ac545fbb051bf6b7f80bfb070c867 (diff)
downloadgsoc2013-evolution-45a3bf8c4557eea71a77afd8a6efcc01416ecdef.tar
gsoc2013-evolution-45a3bf8c4557eea71a77afd8a6efcc01416ecdef.tar.gz
gsoc2013-evolution-45a3bf8c4557eea71a77afd8a6efcc01416ecdef.tar.bz2
gsoc2013-evolution-45a3bf8c4557eea71a77afd8a6efcc01416ecdef.tar.lz
gsoc2013-evolution-45a3bf8c4557eea71a77afd8a6efcc01416ecdef.tar.xz
gsoc2013-evolution-45a3bf8c4557eea71a77afd8a6efcc01416ecdef.tar.zst
gsoc2013-evolution-45a3bf8c4557eea71a77afd8a6efcc01416ecdef.zip
If the attachment fails, report the error to the user.
2001-10-09 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (add_from_file): If the attachment fails, report the error to the user. * e-msg-composer-attachment.c (e_msg_composer_attachment_new): Now takes a CamelException argument. svn path=/trunk/; revision=13537
Diffstat (limited to 'composer/e-msg-composer-attachment.h')
-rw-r--r--composer/e-msg-composer-attachment.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/composer/e-msg-composer-attachment.h b/composer/e-msg-composer-attachment.h
index e51db41d73..5dda224153 100644
--- a/composer/e-msg-composer-attachment.h
+++ b/composer/e-msg-composer-attachment.h
@@ -26,6 +26,7 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <glade/glade-xml.h>
#include <camel/camel-mime-part.h>
+#include <camel/camel-exception.h>
#ifdef __cplusplus
extern "C" {
@@ -62,8 +63,9 @@ struct _EMsgComposerAttachmentClass {
GtkType e_msg_composer_attachment_get_type (void);
-EMsgComposerAttachment *e_msg_composer_attachment_new (const gchar *file_name,
- const gchar *disposition);
+EMsgComposerAttachment *e_msg_composer_attachment_new (const char *file_name,
+ const char *disposition,
+ CamelException *ex);
EMsgComposerAttachment *e_msg_composer_attachment_new_from_mime_part (CamelMimePart *part);
void e_msg_composer_attachment_edit (EMsgComposerAttachment *attachment,
GtkWidget *parent);